mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 10:07:58 +02:00
Add CoreFoundation to libraries we link to on MacOS
Turns out vhacd-util and ice-server don't link to it, and we need it for machine fingerprint. So the build system doesn't make mac vhacd-util or ice-server builds I guess, or this would have shown up awhile ago.
This commit is contained in:
parent
2566778654
commit
7a346b99b9
1 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@ find_package(TBB REQUIRED)
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
find_library(FRAMEWORK_IOKIT IOKit)
|
find_library(FRAMEWORK_IOKIT IOKit)
|
||||||
|
find_library(CORE_FOUNDATION CoreFoundation)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (APPLE AND ${OPENSSL_INCLUDE_DIR} STREQUAL "/usr/include")
|
if (APPLE AND ${OPENSSL_INCLUDE_DIR} STREQUAL "/usr/include")
|
||||||
|
@ -32,7 +33,7 @@ target_link_libraries(${TARGET_NAME} ${OPENSSL_LIBRARIES} ${TBB_LIBRARIES})
|
||||||
|
|
||||||
# IOKit is needed for getting machine fingerprint
|
# IOKit is needed for getting machine fingerprint
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
target_link_libraries(${TARGET_NAME} ${FRAMEWORK_IOKIT})
|
target_link_libraries(${TARGET_NAME} ${FRAMEWORK_IOKIT} ${CORE_FOUNDATION})
|
||||||
endif (APPLE)
|
endif (APPLE)
|
||||||
|
|
||||||
# libcrypto uses dlopen in libdl
|
# libcrypto uses dlopen in libdl
|
||||||
|
|
Loading…
Reference in a new issue