From 06913d98890f2896e953926239ab651ef313135e Mon Sep 17 00:00:00 2001 From: Frederick Roy Date: Wed, 14 Feb 2024 00:12:59 +0900 Subject: [PATCH] restore NDEBUG for pluginmanger_test --- Sofa/framework/Helper/test/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Sofa/framework/Helper/test/CMakeLists.txt b/Sofa/framework/Helper/test/CMakeLists.txt index 4189c2da7e1..6d894642c48 100644 --- a/Sofa/framework/Helper/test/CMakeLists.txt +++ b/Sofa/framework/Helper/test/CMakeLists.txt @@ -32,6 +32,7 @@ add_subdirectory(system/FailingPlugin) add_executable(${PROJECT_NAME} ${SOURCE_FILES}) target_link_libraries(${PROJECT_NAME} Sofa.Testing Sofa.Helper) +target_compile_definitions(${PROJECT_NAME} PUBLIC "$<$:NDEBUG>") add_definitions("-DSTBIMAGETEST_RESOURCES_DIR=\"${CMAKE_CURRENT_SOURCE_DIR}/io/images\"")