mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
BUG: Remove implicit include dir suppression
We used to suppress generation of -I/usr/include (and on OSX also -I/usr/local/include). This behavior seems to cause more trouble than it's worth, so I'm removing it until someone encounters the original problem it fixed. See issue #8598.
This commit is contained in:
@@ -103,7 +103,6 @@ SET(CMAKE_Fortran_CREATE_SHARED_MODULE
|
||||
# We can use $ENV{INTEL_LICENSE_FILE} to try and get at the installation location for ICC.
|
||||
# We also need to consider to use cce (which is the 64bit compiler) and not JUST the 32bit compiler.
|
||||
# I have no idea what the best way to do that would be.
|
||||
SET(CMAKE_PLATFORM_IMPLICIT_INCLUDE_DIRECTORIES /usr/local/include )
|
||||
|
||||
|
||||
# default to searching for frameworks first
|
||||
|
||||
@@ -217,7 +217,6 @@ SET(CMAKE_CXX_CREATE_MACOSX_FRAMEWORK
|
||||
|
||||
|
||||
|
||||
SET(CMAKE_PLATFORM_IMPLICIT_INCLUDE_DIRECTORIES /usr/local/include)
|
||||
# default to searching for frameworks first
|
||||
SET(CMAKE_FIND_FRAMEWORK FIRST)
|
||||
# set up the default search directories for frameworks
|
||||
|
||||
Reference in New Issue
Block a user