- Sidequest: Clean up header-only library dependencies with cmake.
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
project(daggy)
|
||||
|
||||
#ExternalProject_Add_StepDependencies(pistache_extern build)
|
||||
|
||||
file(GLOB_RECURSE SOURCES src/*.cpp)
|
||||
add_library(${PROJECT_NAME} STATIC ${SOURCES})
|
||||
include_directories(${PISTACHE_INCLUDE_DIR})
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC include)
|
||||
target_link_libraries(${PROJECT_NAME} pistache pthread)
|
||||
add_dependencies(${PROJECT_NAME} PistacheDownload rapidjson magic-enum)
|
||||
target_link_libraries(${PROJECT_NAME} pistache pthread rapidjson magicEnum)
|
||||
Reference in New Issue
Block a user