Also include Homebrew on ARM64 Mac location in CMake (#938)

This commit is contained in:
WaluigiWare64 2021-01-11 22:01:23 +00:00 committed by GitHub
parent b402cb19b2
commit c109235d01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -101,8 +101,8 @@ if (ENABLE_JIT)
endif()
if (APPLE)
target_include_directories(core PUBLIC /usr/local/include)
target_link_directories(core PUBLIC /usr/local/lib)
target_include_directories(core PUBLIC /usr/local/include /opt/homebrew/include)
target_link_directories(core PUBLIC /usr/local/lib /opt/homebrew/lib)
endif()
if (ENABLE_OGLRENDERER)
@ -119,4 +119,4 @@ else()
else()
target_link_libraries(core)
endif()
endif()
endif()