add spdlog to CMakeLists
This commit is contained in:
@@ -4,13 +4,15 @@ project(zynqDump VERSION 0.1.0)
|
||||
# include(CTest)
|
||||
# enable_testing()
|
||||
add_compile_options(-std=c++14)
|
||||
add_subdirectory(external/spdlog)
|
||||
find_package(spdlog)
|
||||
|
||||
include_directories(include)
|
||||
add_library(channel STATIC channel.cc)
|
||||
|
||||
add_executable(zynqDump client.cc)
|
||||
|
||||
target_link_libraries(zynqDump channel)
|
||||
target_link_libraries(zynqDump channel spdlog)
|
||||
|
||||
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
|
||||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
|
||||
|
||||
Reference in New Issue
Block a user