[Pcre-svn] [1294] code/trunk: Another CMake patch for Window…

Page principale
Supprimer ce message
Auteur: Subversion repository
Date:  
À: pcre-svn
Sujet: [Pcre-svn] [1294] code/trunk: Another CMake patch for Windows, fixes #2688.
Revision: 1294
          http://www.exim.org/viewvc/pcre2?view=rev&revision=1294
Author:   ph10
Date:     2021-01-14 17:14:58 +0000 (Thu, 14 Jan 2021)
Log Message:
-----------
Another CMake patch for Windows, fixes #2688.


Modified Paths:
--------------
    code/trunk/CMakeLists.txt
    code/trunk/ChangeLog


Modified: code/trunk/CMakeLists.txt
===================================================================
--- code/trunk/CMakeLists.txt    2021-01-14 16:56:44 UTC (rev 1293)
+++ code/trunk/CMakeLists.txt    2021-01-14 17:14:58 UTC (rev 1294)
@@ -110,7 +110,7 @@


LIST(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)

-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I\"${PROJECT_SOURCE_DIR}/src\"")
+INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src)

# external packages
FIND_PACKAGE( BZip2 )

Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2021-01-14 16:56:44 UTC (rev 1293)
+++ code/trunk/ChangeLog    2021-01-14 17:14:58 UTC (rev 1294)
@@ -13,7 +13,10 @@
 with a NULL dereference. I don't think this case could ever occur in practice, 
 but I have put in a check in order to get rid of the compiler error.


+3. An alternative patch for CMakeLists.txt because 10.36 # 4 breaks CMake on
+Windows. Patch from email@??? fixes bugzilla #2688.

+
Version 10.36 04-December-2020
------------------------------