mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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)
|
||||
find_library(FRAMEWORK_IOKIT IOKit)
|
||||
find_library(CORE_FOUNDATION CoreFoundation)
|
||||
endif ()
|
||||
|
||||
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
|
||||
if (APPLE)
|
||||
target_link_libraries(${TARGET_NAME} ${FRAMEWORK_IOKIT})
|
||||
target_link_libraries(${TARGET_NAME} ${FRAMEWORK_IOKIT} ${CORE_FOUNDATION})
|
||||
endif (APPLE)
|
||||
|
||||
# libcrypto uses dlopen in libdl
|
||||
|
|
Loading…
Reference in a new issue