summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-07 17:49:55 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-07 17:49:55 +0100
commit5cea3ff829b9d3abec56dee7228ee961db52170f (patch)
treed750f812f9e4a31883e34eef918a4f20c9636b00 /src/CMakeLists.txt
parentbbd42ca7a94daadb63781fa7714ea66e968c775c (diff)
downloadfastd-5cea3ff829b9d3abec56dee7228ee961db52170f.tar
fastd-5cea3ff829b9d3abec56dee7228ee961db52170f.zip
CMake: avoid target_include_directories command to stay compatible with CMake 2.8.9
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e639ceb..a8ac194 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -39,7 +39,7 @@ add_executable(fastd
)
set_property(TARGET fastd PROPERTY COMPILE_FLAGS "${FASTD_CFLAGS}")
set_property(TARGET fastd PROPERTY LINK_FLAGS "-pthread ${UECC_LDFLAGS_OTHER} ${NACL_LDFLAGS_OTHER}")
-target_include_directories(fastd PRIVATE ${CAP_INCLUDE_DIR} ${NACL_INCLUDE_DIRS})
+set_property(TARGET fastd APPEND PROPERTY INCLUDE_DIRECTORIES ${CAP_INCLUDE_DIR} ${NACL_INCLUDE_DIRS})
target_link_libraries(fastd protocols methods ciphers macs ${RT_LIBRARY} ${CAP_LIBRARY} ${UECC_LIBRARIES} ${NACL_LIBRARIES})
add_dependencies(fastd version)