Compare commits

..

No commits in common. "a2ae14a6e8c903734a819f0dc9a4ced952b01e04" and "f500a10a0db04e26542f98cc0f39d8b01eb87d39" have entirely different histories.

2 changed files with 2 additions and 7 deletions

View File

@ -1,10 +1,6 @@
include(cotire OPTIONAL) include(cotire)
if(COMMAND cotire) if(COMMAND cotire)
if(CMAKE_BUILD_TYPE STREQUAL "Debug") option(CMLIB_COTIRE_ENABLE_PRECOMPILED_HEADER "Enable precompiled headers" OFF)
option(CMLIB_COTIRE_ENABLE_PRECOMPILED_HEADER "Enable precompiled headers" ON)
else()
option(CMLIB_COTIRE_ENABLE_PRECOMPILED_HEADER "Enable precompiled headers" OFF)
endif()
option(CMLIB_COTIRE_ADD_UNITY_BUILD "Enable unity build" OFF) option(CMLIB_COTIRE_ADD_UNITY_BUILD "Enable unity build" OFF)
endif() endif()

View File

@ -640,7 +640,6 @@ function (cotire_get_target_include_directories _config _language _target _inclu
endforeach() endforeach()
list (REMOVE_DUPLICATES _includeDirs) list (REMOVE_DUPLICATES _includeDirs)
list (REMOVE_DUPLICATES _systemIncludeDirs) list (REMOVE_DUPLICATES _systemIncludeDirs)
list (REMOVE_ITEM _systemIncludeDirs "/usr/include")
if (CMAKE_${_language}_IMPLICIT_INCLUDE_DIRECTORIES) if (CMAKE_${_language}_IMPLICIT_INCLUDE_DIRECTORIES)
list (REMOVE_ITEM _includeDirs ${CMAKE_${_language}_IMPLICIT_INCLUDE_DIRECTORIES}) list (REMOVE_ITEM _includeDirs ${CMAKE_${_language}_IMPLICIT_INCLUDE_DIRECTORIES})
endif() endif()