Revision: 1262
http://www.exim.org/viewvc/pcre2?view=rev&revision=1262
Author: ph10
Date: 2020-06-05 16:58:28 +0100 (Fri, 05 Jun 2020)
Log Message:
-----------
Allow spaces in directory name in CMake build (fixes #2588).
Modified Paths:
--------------
code/trunk/CMakeLists.txt
code/trunk/ChangeLog
Modified: code/trunk/CMakeLists.txt
===================================================================
--- code/trunk/CMakeLists.txt 2020-06-02 16:54:25 UTC (rev 1261)
+++ code/trunk/CMakeLists.txt 2020-06-05 15:58:28 UTC (rev 1262)
@@ -109,7 +109,7 @@
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 )
Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog 2020-06-02 16:54:25 UTC (rev 1261)
+++ code/trunk/ChangeLog 2020-06-05 15:58:28 UTC (rev 1262)
@@ -23,8 +23,16 @@
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
---------------------------