Skip to content

Commit dbb5563

Browse files
authored
[MacOS]: fix wrong linking of Apple Frameworks
see #1522
1 parent 7fbb08c commit dbb5563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ endif()
9494
if(CPPREST_PPLX_IMPL STREQUAL "apple")
9595
find_library(COREFOUNDATION CoreFoundation "/")
9696
find_library(SECURITY Security "/")
97-
target_link_libraries(cpprest PUBLIC ${COREFOUNDATION} ${SECURITY})
97+
target_link_libraries(cpprest PRIVATE ${COREFOUNDATION} ${SECURITY})
9898
target_sources(cpprest PRIVATE pplx/pplxapple.cpp pplx/pplx.cpp pplx/threadpool.cpp ../include/pplx/threadpool.h)
9999
if(CPPREST_INSTALL_HEADERS)
100100
install(FILES ../include/pplx/threadpool.h DESTINATION include/pplx)

0 commit comments

Comments
 (0)