diff --git a/chapter10/ex03_simple_qt_app/CMakeLists.txt b/chapter10/ex03_simple_qt_app/CMakeLists.txt index 87ec42c..4b7c9fa 100644 --- a/chapter10/ex03_simple_qt_app/CMakeLists.txt +++ b/chapter10/ex03_simple_qt_app/CMakeLists.txt @@ -29,7 +29,7 @@ endif() add_executable(ch10_ex03_simple_qt_app main.cpp) # Set C++ standard for the executable -target_compile_features(ch10_ex03_simple_qt_app PRIVATE cxx_std_11) +target_compile_features(ch10_ex03_simple_qt_app PRIVATE cxx_std_17) # Link QT components to the executable target_link_libraries(ch10_ex03_simple_qt_app Qt6::Core Qt6::Widgets) \ No newline at end of file diff --git a/chapter12/emulator-example/CMakeLists.txt b/chapter12/emulator-example/CMakeLists.txt index c8c543d..c340962 100644 --- a/chapter12/emulator-example/CMakeLists.txt +++ b/chapter12/emulator-example/CMakeLists.txt @@ -13,7 +13,7 @@ project( ch12_emulator_example VERSION 1.0 DESCRIPTION "A simple C++ project to demonstrate basic CMake usage" - LANGUAGES CXX) + LANGUAGES CXX C) # enable testing include(CTest)