From cc5356122a56e1a67b4b737e2643c7ccc7fdd76a Mon Sep 17 00:00:00 2001 From: verditelabs <156155735+SuperOptimizer@users.noreply.github.com> Date: Sat, 28 Dec 2024 09:59:39 -0600 Subject: [PATCH] use CXX flags in cpp project --- examples/cpp-project-example/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/cpp-project-example/CMakeLists.txt b/examples/cpp-project-example/CMakeLists.txt index 55f7e6c..3fc13be 100644 --- a/examples/cpp-project-example/CMakeLists.txt +++ b/examples/cpp-project-example/CMakeLists.txt @@ -8,5 +8,5 @@ add_executable(clay_examples_cpp_project_example main.cpp) target_include_directories(clay_examples_cpp_project_example PUBLIC .) -set(CMAKE_C_FLAGS_DEBUG "-Werror -Wall") -set(CMAKE_C_FLAGS_RELEASE "-O3") \ No newline at end of file +set(CMAKE_CXX_FLAGS_DEBUG "-Werror -Wall") +set(CMAKE_CXX_FLAGS_RELEASE "-O3") \ No newline at end of file