Allow spaces in directory name in CMake build (fixes #2588).

This commit is contained in:
Philip.Hazel 2020-06-05 15:58:28 +00:00
parent fda3221597
commit b55dba885a
2 changed files with 9 additions and 1 deletions

View File

@ -109,7 +109,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.5)
LIST(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I${PROJECT_SOURCE_DIR}/src")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I\"${PROJECT_SOURCE_DIR}/src\"")
# external packages
FIND_PACKAGE( BZip2 )

View File

@ -23,6 +23,14 @@ invalid utf8 mode is enabled.
does.
- Fix typo: MACTHED_STRING->MATCHED_STRING
4. Updated CMakeLists.txt with another patch from Wolfgang Stöggl (Bugzilla
#2588):
- Add escaped double quotes around include directory in CMakeLists.txt to
allow spaces in directory names.
- This fixes a cmake error, if the path of the pcre2 source contains a space.
Version 10.35 09-May-2020