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 8608a3b commit 97f5eebCopy full SHA for 97f5eeb
CMakeLists.txt
@@ -35,14 +35,19 @@ add_library(certify::core ALIAS core)
35
target_compile_features(core INTERFACE cxx_std_11)
36
37
target_include_directories(core INTERFACE
38
- $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include>
+ $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
39
$<INSTALL_INTERFACE:include>
40
)
41
42
if(MSVC)
43
target_link_libraries(core INTERFACE Crypt32.lib)
44
endif()
45
46
+if(APPLE)
47
+ target_link_libraries(core INTERFACE "-framework CoreFoundation" "-framework Security")
48
+ set_target_properties(core PROPERTIES LINK_FLAGS "-Wl,-F/Library/Frameworks")
49
+endif()
50
+
51
target_link_libraries(
52
core
53
INTERFACE
0 commit comments