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 4a91e24 commit 6729b9dCopy full SHA for 6729b9d
packages/host/weak-node-api/CMakeLists.txt
@@ -3,13 +3,18 @@ project(weak-node-api)
3
4
add_library(${PROJECT_NAME} SHARED
5
weak_node_api.cpp
6
- ${CMAKE_JS_SRC}
7
)
8
9
# Stripping the prefix from the library name
10
# to make sure the name of the XCFramework will match the name of the library
11
if(APPLE)
12
- set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
+ set_target_properties(${PROJECT_NAME} PROPERTIES
+ FRAMEWORK TRUE
13
+ MACOSX_FRAMEWORK_IDENTIFIER com.callstack.${PROJECT_NAME}
14
+ MACOSX_FRAMEWORK_SHORT_VERSION_STRING 1.0
15
+ MACOSX_FRAMEWORK_BUNDLE_VERSION 1.0
16
+ XCODE_ATTRIBUTE_SKIP_INSTALL NO
17
+ )
18
endif()
19
20
target_include_directories(${PROJECT_NAME}
0 commit comments