From 166e576f91486a7cfc059831fe101f4acaae5a4f Mon Sep 17 00:00:00 2001 From: "Philip.Hazel" Date: Thu, 14 Jan 2021 17:14:58 +0000 Subject: [PATCH] Another CMake patch for Windows, fixes #2688. --- CMakeLists.txt | 2 +- ChangeLog | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aec2979..71ba693 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,7 +110,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\"") +INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src) # external packages FIND_PACKAGE( BZip2 ) diff --git a/ChangeLog b/ChangeLog index 231a24e..3fd886a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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, 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 ------------------------------