From 162685f10806acd31ead38852ca9a9f1ff84a439 Mon Sep 17 00:00:00 2001 From: Pcornat Date: Thu, 8 Jan 2026 21:59:02 +0100 Subject: [PATCH] Remove private debug define. If neede, top project puts it. --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cdbf5b5..e9ce366 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,10 +72,7 @@ target_sources(${PROJECT_NAME} include/basic_data.hpp ) target_precompile_headers(${PROJECT_NAME} PUBLIC include/window.hpp include/basic_data.hpp include/context_window.hpp) -target_compile_definitions(${PROJECT_NAME} - PUBLIC GLFW_INCLUDE_NONE - PRIVATE $<$,$>:_GLIBCXX_DEBUG> -) +target_compile_definitions(${PROJECT_NAME} PUBLIC GLFW_INCLUDE_NONE) target_compile_options(${PROJECT_NAME} PUBLIC ${COMPILE_FLAGS} $<$:${COMPILE_OPTIMIZED_FLAGS}>) target_link_options(${PROJECT_NAME} PUBLIC ${LINKER_OPTIONS} $<$:${LINKER_OPTIMIZED_OPTIONS}>) target_link_libraries(${PROJECT_NAME} PUBLIC $<$:PkgConfig::Jemalloc> OpenGL::GL GLEW::GLEW glfw)