Commit e6689a0b authored by Bernard van Gastel's avatar Bernard van Gastel
Browse files

Added install target.

parent d81c4d7c
......@@ -181,8 +181,9 @@ add_library(lib${PROJECT_NAME} src/base.cpp src/core.cpp src/zkp.cpp src/libpep.
target_include_directories(lib${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
target_link_libraries(lib${PROJECT_NAME} extlib)
add_executable(lib${PROJECT_NAME}cli src/cli.cpp)
target_link_libraries(lib${PROJECT_NAME}cli lib${PROJECT_NAME})
add_executable(${PROJECT_NAME}cli src/cli.cpp)
target_link_libraries(${PROJECT_NAME}cli lib${PROJECT_NAME})
install(TARGETS ${PROJECT_NAME}cli DESTINATION bin)
if (TEST)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/ext/catch2/contrib)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment