mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-22 15:16:12 +00:00
Fixed: Misc depends on Carbon under OS X
--HG-- branch : develop
This commit is contained in:
parent
72b37450b4
commit
8dca705f73
2 changed files with 23 additions and 18 deletions
|
@ -164,7 +164,11 @@ IF(WITH_SSE2)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF(APPLE_CERTIFICATE)
|
IF(APPLE)
|
||||||
|
FIND_LIBRARY(CARBON_FRAMEWORK Carbon)
|
||||||
|
FIND_LIBRARY(FOUNDATION_FRAMEWORK Foundation)
|
||||||
|
|
||||||
|
IF(APPLE_CERTIFICATE)
|
||||||
# Find codesign_allocate
|
# Find codesign_allocate
|
||||||
|
|
||||||
# Xcode 7.0 and later versions
|
# Xcode 7.0 and later versions
|
||||||
|
@ -184,6 +188,7 @@ IF(APPLE_CERTIFICATE)
|
||||||
MESSAGE(WARNING "Unable to find codesign_allocate in standard directories")
|
MESSAGE(WARNING "Unable to find codesign_allocate in standard directories")
|
||||||
SET(CODESIGN_ALLOCATE)
|
SET(CODESIGN_ALLOCATE)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
ENDIF()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
MACRO(ADD_QT_LIBRARY _NAME)
|
MACRO(ADD_QT_LIBRARY _NAME)
|
||||||
|
@ -378,8 +383,6 @@ IF(WITH_QT5)
|
||||||
IF(APPLE)
|
IF(APPLE)
|
||||||
FIND_LIBRARY(PCRE_LIBRARY pcre16 pcre)
|
FIND_LIBRARY(PCRE_LIBRARY pcre16 pcre)
|
||||||
|
|
||||||
FIND_LIBRARY(FOUNDATION_FRAMEWORK Foundation)
|
|
||||||
FIND_LIBRARY(CARBON_FRAMEWORK Carbon)
|
|
||||||
FIND_LIBRARY(SECURITY_FRAMEWORK Security)
|
FIND_LIBRARY(SECURITY_FRAMEWORK Security)
|
||||||
|
|
||||||
SET(QT_LIBRARIES ${QT_LIBRARIES}
|
SET(QT_LIBRARIES ${QT_LIBRARIES}
|
||||||
|
|
|
@ -202,7 +202,9 @@ ENDIF()
|
||||||
|
|
||||||
IF(UNIX)
|
IF(UNIX)
|
||||||
TARGET_LINK_LIBRARIES(nelmisc -lc -ldl)
|
TARGET_LINK_LIBRARIES(nelmisc -lc -ldl)
|
||||||
IF(NOT APPLE)
|
IF(APPLE)
|
||||||
|
TARGET_LINK_LIBRARIES(nelmisc ${CARBON_FRAMEWORK})
|
||||||
|
ELSE()
|
||||||
TARGET_LINK_LIBRARIES(nelmisc -lrt)
|
TARGET_LINK_LIBRARIES(nelmisc -lrt)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
Loading…
Reference in a new issue