We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0676e83 commit 6dcb0dcCopy full SHA for 6dcb0dc
test/gtest/CMakeLists.txt
@@ -39,6 +39,10 @@ if(${system_name} STREQUAL "linux")
39
endif()
40
41
42
+if(APPLE)
43
+ find_library(CoreFoundation CoreFoundation)
44
+endif()
45
+
46
message(STATUS "Detected vendor architecture directory: ${vendor_arch}")
47
48
# TODO?: Detect and support ruby-arch builds?
@@ -47,5 +51,7 @@ target_link_libraries(c_v8_tests ${CMAKE_SOURCE_DIR}/../../vendor/v8/${vendor_ar
51
# This has to be after the v8 monolith for some build setups.
52
target_link_libraries(c_v8_tests dl)
49
53
54
+target_link_libraries(c_v8_tests $<$<PLATFORM_ID:Darwin>:${CoreFoundation}>)
55
50
56
include(GoogleTest)
57
gtest_discover_tests(c_v8_tests)
0 commit comments