1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 13:41:13 +02:00

fix standalone CI build

This commit is contained in:
ClausKlein 2022-03-29 11:13:09 +02:00
parent c6c34b02d1
commit fcbedfe9d8

View file

@ -28,6 +28,7 @@ file(GLOB sources CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp)
add_executable(${PROJECT_NAME} ${sources})
set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 17 OUTPUT_NAME "Greeter")
# TODO(CK): why is this needed?
set_target_properties(${PROJECT_NAME} PROPERTIES OUTPUT_NAME Greeter)
target_link_libraries(${PROJECT_NAME} Greeter::Greeter cxxopts::cxxopts)