Правка cotire
This commit is contained in:
parent
ffa6262670
commit
aa53289311
@ -1,4 +1,4 @@
|
|||||||
include(cotire)
|
include(cotire OPTIONAL)
|
||||||
|
|
||||||
if(COMMAND cotire)
|
if(COMMAND cotire)
|
||||||
option(CMLIB_COTIRE_ENABLE_PRECOMPILED_HEADER "Enable precompiled headers" OFF)
|
option(CMLIB_COTIRE_ENABLE_PRECOMPILED_HEADER "Enable precompiled headers" OFF)
|
||||||
|
1
thirdparty/cotire.cmake
vendored
1
thirdparty/cotire.cmake
vendored
@ -640,6 +640,7 @@ 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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user