소스 검색

Fix macOS build.

Miku AuahDark 2 년 전
부모
커밋
464aca21cb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/CMakeLists.txt

+ 1 - 1
src/CMakeLists.txt

@@ -88,7 +88,7 @@ elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
 
 	if (NOT IOS)
 		# macOS needs -undefined dynamic_lookup
-		target_compile_definitions(https -undefined dynamic_lookup)
+		target_link_options(https PRIVATE -undefined dynamic_lookup)
 	else ()
 		target_link_libraries(https ${LUA_LIBRARIES})
 	endif ()