projects
/
umurmur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
66c74e9
)
linking against librt now works
author
Felix Morgner
<felix.morgner@gmail.com>
Tue, 14 Jan 2014 14:15:01 +0000
(15:15 +0100)
committer
Felix Morgner
<felix.morgner@gmail.com>
Tue, 14 Jan 2014 14:15:01 +0000
(15:15 +0100)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 0a8669c494ac7ba56ea271f0e973366457eb4a9f..d100472da0bdf790389ef63b5081882e89d27046 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-37,7
+37,7
@@
if(NOT HAVE_CLOCK_GETTIME)
message(FATAL_ERROR "Didn't find clock_gettime() or clock_get_time!")
endif()
else()
message(FATAL_ERROR "Didn't find clock_gettime() or clock_get_time!")
endif()
else()
- set(LIBR
ARIES ${LIBRARIES}
rt)
+ set(LIBR
T
rt)
endif()
endif()
endif()
endif()
@@
-46,11
+46,11
@@
add_subdirectory(src)
configure_file(src/config.h.in ${CMAKE_SOURCE_DIR}/src/config.h)
configure_file(src/config.h.in ${CMAKE_SOURCE_DIR}/src/config.h)
-include_directories(${LIBCONFIG_INCLUDE_DIR} ${PROTOBUFC_INCLUDE_DIR} ${SSLIMP_INCLUDE_DIR})
+include_directories(${LIBCONFIG_INCLUDE_DIR} ${PROTOBUFC_INCLUDE_DIR} ${SSLIMP_INCLUDE_DIR})
link_directories(${LIBCONFIG_LIB_DIR} ${PROTOBUFC_LIB_DIR} ${SSLIMP_LIB_DIR})
add_executable(umurmurd ${SOURCE})
install(TARGETS umurmurd RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
add_definitions(${SSLIMP_CFLAGS})
link_directories(${LIBCONFIG_LIB_DIR} ${PROTOBUFC_LIB_DIR} ${SSLIMP_LIB_DIR})
add_executable(umurmurd ${SOURCE})
install(TARGETS umurmurd RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
add_definitions(${SSLIMP_CFLAGS})
-target_link_libraries(umurmurd ${LIBCONFIG_LIBRARIES} ${PROTOBUFC_LIBRARIES} ${SSLIMP_LIBRARIES})
+target_link_libraries(umurmurd ${LIBCONFIG_LIBRARIES} ${PROTOBUFC_LIBRARIES} ${SSLIMP_LIBRARIES}
${LIBRT}
)