diff options
Diffstat (limited to 'Tests/QtAutogenRerun/CMakeLists.txt')
-rw-r--r-- | Tests/QtAutogenRerun/CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Tests/QtAutogenRerun/CMakeLists.txt b/Tests/QtAutogenRerun/CMakeLists.txt index e72c191..746ba4a 100644 --- a/Tests/QtAutogenRerun/CMakeLists.txt +++ b/Tests/QtAutogenRerun/CMakeLists.txt @@ -6,7 +6,7 @@ project(QtAutogenRerun) if(QT_QMAKE_EXECUTABLE) get_filename_component(Qt_BIN_DIR "${QT_QMAKE_EXECUTABLE}" PATH) get_filename_component(Qt_PREFIX_DIR "${Qt_BIN_DIR}" PATH) - set(CMAKE_PREFIX_PATH ${Qt_PREFIX_DIR}) + list(APPEND CMAKE_PREFIX_PATH ${Qt_PREFIX_DIR}) endif() if (QT_TEST_VERSION STREQUAL 4) @@ -40,9 +40,6 @@ endif() add_executable(dummy dummy.cpp) # -- Test -include("mocRerun.cmake") - -# -- Test # Tests Q_PLUGIN_METADATA json file change detection if (NOT QT_TEST_VERSION STREQUAL 4) include("mocPlugin.cmake") |