diff --git a/standalone/CMakeLists.txt b/standalone/CMakeLists.txt index 2766144..4ae4c3b 100644 --- a/standalone/CMakeLists.txt +++ b/standalone/CMakeLists.txt @@ -25,10 +25,13 @@ CPMAddPackage( # ---- Create standalone executable ---- file(GLOB sources ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) + add_executable(GreeterStandalone ${sources}) + set_target_properties(GreeterStandalone PROPERTIES CXX_STANDARD 17 COMPILE_FLAGS "-Wall -pedantic -Wextra" OUTPUT_NAME "Greeter" ) + target_link_libraries(GreeterStandalone Greeter cxxopts)