Commit bb285768 authored by DanmeiChen's avatar DanmeiChen

make framework on macos

parent 1051f223
......@@ -59,8 +59,12 @@ if(ENABLE_SHARED)
add_library(msamr SHARED ${SOURCE_FILES})
endif()
target_link_libraries(msamr ${LIBS})
if(IOS)
set(MIN_OS ${LINPHONE_IOS_DEPLOYMENT_TARGET})
if(APPLE)
if(IOS)
set(MIN_OS ${LINPHONE_IOS_DEPLOYMENT_TARGET})
else()
set(MIN_OS ${CMAKE_OSX_DEPLOYMENT_TARGET})
endif()
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/build/osx/")
set_target_properties(msamr PROPERTIES
FRAMEWORK TRUE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment