diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt index 01b13ae1..ab4d8950 100644 --- a/src/plugins/CMakeLists.txt +++ b/src/plugins/CMakeLists.txt @@ -1,7 +1,7 @@ add_library(pluginloader STATIC pluginloader.cpp pluginloader.h) target_link_libraries(pluginloader PUBLIC Qt6::Core Qt6::Widgets) -if(TESTING) +if(${CMAKE_BUILD_TYPE} STREQUAL "Debug") add_executable(load_plugin test/pluginloader.cpp) target_link_libraries(load_plugin GTest::gtest GTest::gtest_main Qt6::Core) endif() |