From f59fc7f8e0fb8f154a79af458352ffa26d507860 Mon Sep 17 00:00:00 2001 From: ClausKlein Date: Sat, 6 Feb 2021 23:54:41 +0100 Subject: [PATCH] fix standalone build back to rename ... --- standalone/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/standalone/CMakeLists.txt b/standalone/CMakeLists.txt index dd4649f..665c057 100644 --- a/standalone/CMakeLists.txt +++ b/standalone/CMakeLists.txt @@ -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)