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

fix standalone build

back to rename ...
This commit is contained in:
ClausKlein 2021-02-06 23:54:41 +01:00
parent 0ec4474d42
commit f59fc7f8e0

View file

@ -25,9 +25,8 @@ file(GLOB sources CONFIGURE_DEPENDS source/*.cpp)
add_executable(GreeterStandalone ${sources})
# FIXME: WHY? CK
set_target_properties(GreeterStandalone OUTPUT_NAME "Greeter")
target_compile_features(GreeterStandalone PUBLIC cxx_std_17)
# FIXME: WHY rename executable this way? CK
set_target_properties(GreeterStandalone CXX_STANDARD 17 OUTPUT_NAME "Greeter")
# target_compile_features(GreeterStandalone PUBLIC cxx_std_17)
target_link_libraries(GreeterStandalone PRIVATE Greeter::Greeter cxxopts)