diff --git a/CMakeLists.txt b/CMakeLists.txt index 93782659..6001cdbb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -373,10 +373,7 @@ endif() list(APPEND EXTRA_LIBRARIES ${CMAKE_DL_LIBS}) if(APPLE) - include_directories(SYSTEM /usr/include/malloc) - if(POLICY CMP0042) - cmake_policy(SET CMP0042 NEW) - endif() + cmake_policy(SET CMP0042 NEW) endif() if (APPLE AND NOT IOS)