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:
parent
0ec4474d42
commit
f59fc7f8e0
1 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue