1
0
Fork 0

Don't add /usr/local/include to include directories

It's searched by default
This commit is contained in:
Ilya Fedin 2024-03-25 21:14:51 +04:00 committed by John Preston
parent 161b986c32
commit 3bd66f2c07
3 changed files with 0 additions and 9 deletions

View file

@ -41,7 +41,6 @@ elseif (APPLE)
else() else()
target_include_directories(external_openal SYSTEM target_include_directories(external_openal SYSTEM
INTERFACE INTERFACE
/usr/local/include
/usr/local/include/AL /usr/local/include/AL
) )
target_link_static_libraries(external_openal target_link_static_libraries(external_openal

View file

@ -38,10 +38,6 @@ elseif (APPLE)
IMPORTED_LOCATION_DEBUG "${rnnoise_lib_loc}/Debug/librnnoise.a" IMPORTED_LOCATION_DEBUG "${rnnoise_lib_loc}/Debug/librnnoise.a"
) )
else() else()
target_include_directories(external_rnnoise SYSTEM
INTERFACE
/usr/local/include
)
find_library(DESKTOP_APP_RNNOISE_LIBRARIES librnnoise.a REQUIRED) find_library(DESKTOP_APP_RNNOISE_LIBRARIES librnnoise.a REQUIRED)
set_target_properties(external_rnnoise PROPERTIES set_target_properties(external_rnnoise PROPERTIES
IMPORTED_LOCATION "${DESKTOP_APP_RNNOISE_LIBRARIES}" IMPORTED_LOCATION "${DESKTOP_APP_RNNOISE_LIBRARIES}"

View file

@ -42,10 +42,6 @@ elseif (APPLE)
IMPORTED_LOCATION ${libs_loc}/local/lib/libvpx.a IMPORTED_LOCATION ${libs_loc}/local/lib/libvpx.a
) )
else() else()
target_include_directories(external_vpx SYSTEM
INTERFACE
/usr/local/include
)
find_library(DESKTOP_APP_VPX_LIBRARIES libvpx.a REQUIRED) find_library(DESKTOP_APP_VPX_LIBRARIES libvpx.a REQUIRED)
set_target_properties(external_vpx PROPERTIES set_target_properties(external_vpx PROPERTIES
IMPORTED_LOCATION "${DESKTOP_APP_VPX_LIBRARIES}" IMPORTED_LOCATION "${DESKTOP_APP_VPX_LIBRARIES}"