diff options
Diffstat (limited to 'plugins/webengine')
-rw-r--r-- | plugins/webengine/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/webengine/CMakeLists.txt b/plugins/webengine/CMakeLists.txt index 8a11bc76..f49d9c7c 100644 --- a/plugins/webengine/CMakeLists.txt +++ b/plugins/webengine/CMakeLists.txt @@ -7,6 +7,6 @@ add_library(WebEnginePlugin MODULE target_include_directories(WebEnginePlugin PRIVATE ${PROJECT_SOURCE_DIR}/src/plugins) target_link_libraries(WebEnginePlugin PUBLIC Qt6::Core Qt6::WebEngineWidgets) -if(TESTING) +if(${CMAKE_BUILD_TYPE} STREQUAL "Debug") add_test(NAME "load_plugin WebEnginePlugin" COMMAND load_plugin $<TARGET_FILE:WebEnginePlugin>) endif() |