summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt4.cmake
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-08 19:25:41 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-08 19:28:52 (GMT)
commit3a7be4f3943e160b1c0c144d914d3dd2ba42819e (patch)
treeaaf3674f3096264656031f80545880a69fa561b4 /Modules/FindQt4.cmake
parentee9d4feb67f01686c270d3db584dfccaefd14b47 (diff)
downloadCMake-3a7be4f3943e160b1c0c144d914d3dd2ba42819e.zip
CMake-3a7be4f3943e160b1c0c144d914d3dd2ba42819e.tar.gz
CMake-3a7be4f3943e160b1c0c144d914d3dd2ba42819e.tar.bz2
prefer list(APPEND) over string(APPEND) where appropriate
Diffstat (limited to 'Modules/FindQt4.cmake')
-rw-r--r--Modules/FindQt4.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index bf41ea1..7c41b99 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -764,7 +764,7 @@ if (QT_QMAKE_EXECUTABLE AND
#############################################
cmake_push_check_state()
# Add QT_INCLUDE_DIR to CMAKE_REQUIRED_INCLUDES
- string(APPEND CMAKE_REQUIRED_INCLUDES ";${QT_INCLUDE_DIR}")
+ list(APPEND CMAKE_REQUIRED_INCLUDES "${QT_INCLUDE_DIR}")
set(CMAKE_REQUIRED_QUIET ${Qt4_FIND_QUIETLY})
# Check for Window system symbols (note: only one should end up being set)
CHECK_CXX_SYMBOL_EXISTS(Q_WS_X11 "QtCore/qglobal.h" Q_WS_X11)