From e7c191082471ddc25a3f1d4f9061f038174992a2 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 11 May 2021 14:43:34 +0200 Subject: [PATCH] Fix CMake build Amends b66a403f36c789471662634e8fb57406c78823e4 Change-Id: I2d104839a6b8510986ce6f3443ba9fb083460c07 Reviewed-by: Cristian Adam --- src/plugins/projectexplorer/CMakeLists.txt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/plugins/projectexplorer/CMakeLists.txt b/src/plugins/projectexplorer/CMakeLists.txt index 55d74241c1d..2bae7add9ca 100644 --- a/src/plugins/projectexplorer/CMakeLists.txt +++ b/src/plugins/projectexplorer/CMakeLists.txt @@ -218,12 +218,11 @@ extend_qtc_plugin(ProjectExplorer file(GLOB_RECURSE test_resources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} testdata/*) qtc_add_resources(ProjectExplorer "testdata" - CONDITION WITH_TESTS - PREFIX "/projectexplorer" - BASE "." - FILES ${test_resources} - ) -endif() + CONDITION WITH_TESTS + PREFIX "/projectexplorer" + BASE "." + FILES ${test_resources} +) qtc_plugin_enabled(_projectexplorer_enabled ProjectExplorer) if (WITH_TESTS AND _projectexplorer_enabled)