update CMakeLists.txt
This commit is contained in:
parent
45fc7eba9f
commit
8142fc6bf7
|
@ -89,8 +89,7 @@ install(TARGETS drogon DESTINATION lib)
|
||||||
|
|
||||||
file(GLOB trantor_net_headers "${CMAKE_CURRENT_SOURCE_DIR}/lib/inc/drogon/*.h")
|
file(GLOB trantor_net_headers "${CMAKE_CURRENT_SOURCE_DIR}/lib/inc/drogon/*.h")
|
||||||
install(FILES ${trantor_net_headers} DESTINATION include/drogon)
|
install(FILES ${trantor_net_headers} DESTINATION include/drogon)
|
||||||
add_dependencies(drogon trantor)
|
add_dependencies(drogon trantor makeVersion)
|
||||||
add_dependencies(drogon makeVersion)
|
|
||||||
|
|
||||||
|
|
||||||
SET(CONFIG_HEADER "${PROJECT_SOURCE_DIR}/config.h")
|
SET(CONFIG_HEADER "${PROJECT_SOURCE_DIR}/config.h")
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
link_libraries(drogon)
|
link_libraries(drogon)
|
||||||
AUX_SOURCE_DIRECTORY(. SRC_DIR)
|
AUX_SOURCE_DIRECTORY(. SRC_DIR)
|
||||||
add_executable(drogon_ctl ${SRC_DIR})
|
add_executable(drogon_ctl ${SRC_DIR})
|
||||||
|
add_dependencies(drogon_ctl trantor makeVersion)
|
||||||
install(TARGETS drogon_ctl DESTINATION bin)
|
install(TARGETS drogon_ctl DESTINATION bin)
|
||||||
|
|
Loading…
Reference in New Issue