Another CMake patch for Windows, fixes #2688.

This commit is contained in:
Philip.Hazel 2021-01-14 17:14:58 +00:00
parent c246f53ae1
commit 166e576f91
2 changed files with 4 additions and 1 deletions

View File

@ -110,7 +110,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\"") INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src)
# external packages # external packages
FIND_PACKAGE( BZip2 ) FIND_PACKAGE( BZip2 )

View File

@ -13,6 +13,9 @@ Courreges-Anglas via Nam Nguyen. This fixes RunGrepTest for OpenBSD.
with a NULL dereference. I don't think this case could ever occur in practice, 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. 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@cs-ware.de fixes bugzilla #2688.
Version 10.36 04-December-2020 Version 10.36 04-December-2020
------------------------------ ------------------------------