diff options
| author | David Faure <faure@kde.org> | 2020-12-07 13:03:39 +0100 | 
|---|---|---|
| committer | David Faure <faure@kde.org> | 2020-12-07 13:03:39 +0100 | 
| commit | 51c13754b38be57cf51ed2c4592bb89f0648dc61 (patch) | |
| tree | c056835f7e78e411e26b18c8e75d36761d68a51b | |
| parent | 8d7229b25fb82744182b7dc40d1a4868bf27e3e2 (diff) | |
| download | extra-cmake-modules-51c13754b38be57cf51ed2c4592bb89f0648dc61.tar.gz extra-cmake-modules-51c13754b38be57cf51ed2c4592bb89f0648dc61.tar.bz2  | |
Another attempt to fix QT_PLUGIN_PATH for tests on Windows
| -rw-r--r-- | modules/ECMAddTests.cmake | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/ECMAddTests.cmake b/modules/ECMAddTests.cmake index 8d7297e9..0136bb64 100644 --- a/modules/ECMAddTests.cmake +++ b/modules/ECMAddTests.cmake @@ -95,7 +95,8 @@ function(ecm_add_test)    ecm_mark_as_test(${_targetname})    if (CMAKE_LIBRARY_OUTPUT_DIRECTORY)      if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows") -      set(PATHSEP ";") +       # https://stackoverflow.com/questions/59862894/how-do-i-make-a-list-in-cmake-with-the-semicolon-value +       set(PATHSEP "\\\;") # Don't want cmake to treat it like a list      else() # e.g. Linux        set(PATHSEP ":")      endif()  | 
