From ab32d3c4a8a3373133c7917213164827da252f0d Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de>
Date: Sun, 25 Jul 2021 21:28:50 +0200
Subject: [PATCH] CMake: rm quotes

---
 Fit/Test/Minimizer/CMakeLists.txt                | 2 +-
 Tests/Functional/Core/Consistence/CMakeLists.txt | 2 +-
 Tests/Functional/Core/Fitting/CMakeLists.txt     | 2 +-
 Tests/Functional/PyCore/CMakeLists.txt           | 4 ++--
 Tests/Functional/PyEmbedded/CMakeLists.txt       | 2 +-
 Tests/Functional/PyFit/CMakeLists.txt            | 2 +-
 Tests/UnitTests/GUI/CMakeLists.txt               | 2 +-
 cmake/CMakeLists.txt                             | 2 +-
 8 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Fit/Test/Minimizer/CMakeLists.txt b/Fit/Test/Minimizer/CMakeLists.txt
index e375597b886..6eec8369dbc 100644
--- a/Fit/Test/Minimizer/CMakeLists.txt
+++ b/Fit/Test/Minimizer/CMakeLists.txt
@@ -2,7 +2,7 @@ include(GoogleTest) # provides gtest_discover_tests
 
 set(test TestMinimizers)
 
-file(GLOB source_files "*.cpp")
+file(GLOB source_files *.cpp)
 
 add_executable(${test} ${source_files} ${CMAKE_SOURCE_DIR}/Tests/GTestWrapper/TestAll.cpp)
 target_include_directories(${test}
diff --git a/Tests/Functional/Core/Consistence/CMakeLists.txt b/Tests/Functional/Core/Consistence/CMakeLists.txt
index 83e1bd8a903..c5c27fc4c21 100644
--- a/Tests/Functional/Core/Consistence/CMakeLists.txt
+++ b/Tests/Functional/Core/Consistence/CMakeLists.txt
@@ -2,7 +2,7 @@ include(GoogleTest) # provides gtest_discover_tests
 
 set(test TestCoreConsistence)
 
-file(GLOB source_files "*.cpp")
+file(GLOB source_files *.cpp)
 
 add_executable(${test} ${source_files} ${CMAKE_SOURCE_DIR}/Tests/GTestWrapper/TestAll.cpp)
 
diff --git a/Tests/Functional/Core/Fitting/CMakeLists.txt b/Tests/Functional/Core/Fitting/CMakeLists.txt
index 0c5d4ced3bb..d5c0b0e6564 100644
--- a/Tests/Functional/Core/Fitting/CMakeLists.txt
+++ b/Tests/Functional/Core/Fitting/CMakeLists.txt
@@ -2,7 +2,7 @@ include(GoogleTest) # provides gtest_discover_tests
 
 set(test TestCoreFitting)
 
-file(GLOB source_files "*.cpp")
+file(GLOB source_files *.cpp)
 
 add_executable(${test} ${source_files} ${CMAKE_SOURCE_DIR}/Tests/GTestWrapper/TestAll.cpp)
 target_include_directories(${test}
diff --git a/Tests/Functional/PyCore/CMakeLists.txt b/Tests/Functional/PyCore/CMakeLists.txt
index ed485d86919..b1f1a2dd5cd 100644
--- a/Tests/Functional/PyCore/CMakeLists.txt
+++ b/Tests/Functional/PyCore/CMakeLists.txt
@@ -5,10 +5,10 @@
 set(OUTPUT_DIR ${TEST_OUTPUT_DIR_PY_CORE})
 file(MAKE_DIRECTORY ${OUTPUT_DIR})
 
-file(GLOB tests RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.py")
+file(GLOB tests RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.py)
 list(REMOVE_ITEM tests utils.py)
 if(NOT BORNAGAIN_TIFF_SUPPORT)
-    list(REMOVE_ITEM tests "intensitydata_io_tiff.py")
+    list(REMOVE_ITEM tests intensitydata_io_tiff.py)
 endif()
 
 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/utils.py ${OUTPUT_DIR}/utils.py @ONLY)
diff --git a/Tests/Functional/PyEmbedded/CMakeLists.txt b/Tests/Functional/PyEmbedded/CMakeLists.txt
index e42ea93cc8c..cfaf2bd6d01 100644
--- a/Tests/Functional/PyEmbedded/CMakeLists.txt
+++ b/Tests/Functional/PyEmbedded/CMakeLists.txt
@@ -2,7 +2,7 @@ include(GoogleTest) # provides gtest_discover_tests
 
 set(test TestPyEmbedded)
 
-file(GLOB source_files "*.cpp")
+file(GLOB source_files *.cpp)
 
 add_executable(${test} ${source_files} ${CMAKE_SOURCE_DIR}/Tests/GTestWrapper/TestAll.cpp)
 target_include_directories(${test}
diff --git a/Tests/Functional/PyFit/CMakeLists.txt b/Tests/Functional/PyFit/CMakeLists.txt
index 133fcae57fa..a13539beea0 100644
--- a/Tests/Functional/PyFit/CMakeLists.txt
+++ b/Tests/Functional/PyFit/CMakeLists.txt
@@ -5,7 +5,7 @@
 set(output_dir ${TEST_OUTPUT_DIR_PY_FIT})
 file(MAKE_DIRECTORY ${output_dir})
 
-file(GLOB tests RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.py")
+file(GLOB tests RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.py)
 
 foreach(_test ${tests})
     configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${_test} ${output_dir}/${_test} COPYONLY)
diff --git a/Tests/UnitTests/GUI/CMakeLists.txt b/Tests/UnitTests/GUI/CMakeLists.txt
index 21b1f4a5168..b9f9184de0f 100644
--- a/Tests/UnitTests/GUI/CMakeLists.txt
+++ b/Tests/UnitTests/GUI/CMakeLists.txt
@@ -2,7 +2,7 @@ include(GoogleTest)
 
 set(test UnitTestGUI)
 
-file(GLOB source_files "*.cpp")
+file(GLOB source_files *.cpp)
 
 find_package(Qt5Core REQUIRED)
 find_package(Qt5Test REQUIRED)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index d698fadc9a9..2efc786572e 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -21,5 +21,5 @@ install(CODE "MESSAGE(\"${after_install_text}\")")
 endif()
 
 # to show files in Qt creator
-FILE(GLOB_RECURSE ScriptFiles "configurables/*.*")
+FILE(GLOB_RECURSE ScriptFiles configurables/*.*)
 add_custom_target(scripts SOURCES ${ScriptFiles})
-- 
GitLab