summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-03 13:16:16 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-03 13:16:16 +0100
commit77b4733272c1677e774ee8bcb43b79272673bdea (patch)
tree7196fafc8c68ab8f541292f1c8f9e3dc2f2009fa /src/CMakeLists.txt
parentb117a60e81c3d67880cd8b0079041c92a0818d96 (diff)
downloadfastd-77b4733272c1677e774ee8bcb43b79272673bdea.tar
fastd-77b4733272c1677e774ee8bcb43b79272673bdea.zip
Include protocol as a static library as well
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6c882b7..e639ceb 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -36,12 +36,11 @@ add_executable(fastd
socket.c
tuntap.c
${BISON_fastd_config_parse_OUTPUTS}
- ${PROTOCOL_SOURCES}
)
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})
-target_link_libraries(fastd methods ciphers macs ${RT_LIBRARY} ${CAP_LIBRARY} ${UECC_LIBRARIES} ${NACL_LIBRARIES})
+target_link_libraries(fastd protocols methods ciphers macs ${RT_LIBRARY} ${CAP_LIBRARY} ${UECC_LIBRARIES} ${NACL_LIBRARIES})
add_dependencies(fastd version)