mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-22 12:01:27 -06:00
Bug #58: Completed quoting for parameters of some CMake commands
A wiki article pointed out that whitespace will only be preserved for parameters in CMake commands if passed strings will be appropriately quoted or escaped. http://cmake.org/Wiki/CMake/Language_Syntax#CMake_splits_arguments_unless_you_use_quotation_marks_or_escapes. Quoting was added so that more places should also handle file names correctly which contain space characters or semicolons eventually. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
This commit is contained in:
@@ -6,7 +6,7 @@ if(USE_QT5)
|
||||
find_package(Qt5Widgets REQUIRED)
|
||||
else()
|
||||
find_package(Qt4 COMPONENTS QtCore QtGui REQUIRED)
|
||||
include(${QT_USE_FILE})
|
||||
include("${QT_USE_FILE}")
|
||||
add_definitions(${QT_DEFINITIONS})
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user