mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-12 14:17:47 +00:00
cmake: link with dl
This commit is contained in:
parent
e1e13503b2
commit
33d77b0591
@ -134,7 +134,7 @@ add_custom_target( run-tests
|
|||||||
|
|
||||||
# compiling and linking it all together
|
# compiling and linking it all together
|
||||||
add_executable( lsyncd ${LSYNCD_SRC} )
|
add_executable( lsyncd ${LSYNCD_SRC} )
|
||||||
target_link_libraries( lsyncd ${LUA_LIBRARIES} )
|
target_link_libraries( lsyncd ${LUA_LIBRARIES} ${CMAKE_DL_LIBS} )
|
||||||
|
|
||||||
install( TARGETS lsyncd RUNTIME DESTINATION bin )
|
install( TARGETS lsyncd RUNTIME DESTINATION bin )
|
||||||
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/man/lsyncd.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT man )
|
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/man/lsyncd.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT man )
|
||||||
|
Loading…
Reference in New Issue
Block a user