Skip to content

Commit 0419805

Browse files
committed
for macOS as well, build NativeScript.framework rather than libNativeScript.0.1.0.dylib
1 parent 882b91c commit 0419805

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

NativeScript/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ if(ENABLE_JS_RUNTIME)
8888
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DENABLE_JS_RUNTIME")
8989
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DENABLE_JS_RUNTIME")
9090
elseif(TARGET_PLATFORM_MACOS)
91-
# If building a generic library for macOS, we'll build a dylib instead of a framework
92-
unset(BUILD_FRAMEWORK)
9391
set(GENERIC_NAPI TRUE)
9492
endif()
9593

0 commit comments

Comments
 (0)