Browse Source

fix builds on macOS

James Robert 4 years ago
parent
commit
f5ec5eade9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/CMakeLists.txt

+ 1 - 0
src/CMakeLists.txt

@@ -96,6 +96,7 @@ if (USE_SCHANNEL_BACKEND)
 endif ()
 endif ()
 
 
 if (USE_NSURL_BACKEND)
 if (USE_NSURL_BACKEND)
+	target_link_libraries (https "-framework Foundation")
 	target_link_libraries (https https-nsurl)
 	target_link_libraries (https https-nsurl)
 endif ()
 endif ()