Allow spaces in directory name in CMake build (fixes #2588).
This commit is contained in:
parent
fda3221597
commit
b55dba885a
|
@ -109,7 +109,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.5)
|
||||||
|
|
||||||
LIST(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
|
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
|
# external packages
|
||||||
FIND_PACKAGE( BZip2 )
|
FIND_PACKAGE( BZip2 )
|
||||||
|
|
|
@ -23,6 +23,14 @@ invalid utf8 mode is enabled.
|
||||||
does.
|
does.
|
||||||
|
|
||||||
- Fix typo: MACTHED_STRING->MATCHED_STRING
|
- 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
|
Version 10.35 09-May-2020
|
||||||
|
|
Loading…
Reference in New Issue