mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 22:58:41 +00:00
0ee2a004e7
Otherwise find_library is unable to lookup the XCTest framework which is not located in the SDK serach path: In the 10.10 SDK the SDK frameworks are located here: $DEVELOPER_DIR/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks whereas the Platform SDKs are located here: $DEVELOPER_DIR/Platforms/MacOSX.platform/Developer/Library/Frameworks Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
7 lines
140 B
CMake
7 lines
140 B
CMake
enable_language(C)
|
|
|
|
find_library(XCTEST_LIBRARY XCTest)
|
|
if(NOT XCTEST_LIBRARY)
|
|
message(FATAL_ERROR "XCTest Framework not found.")
|
|
endif()
|