forked from mirrors/linphone-iphone
Do not add linphonej target if not enabled
This commit is contained in:
parent
20cc3b2176
commit
25c564273e
1 changed files with 3 additions and 1 deletions
|
|
@ -254,7 +254,9 @@ if(ENABLE_SHARED)
|
|||
set_target_properties(linphone PROPERTIES PREFIX "lib")
|
||||
elseif(ANDROID)
|
||||
target_link_libraries(linphone PUBLIC "log" ${SUPPORT_LIBRARIES} ${CPUFEATURES_LIBRARIES})
|
||||
add_dependencies(linphone linphonej)
|
||||
if(ENABLE_JAVA_WRAPPER)
|
||||
add_dependencies(linphone linphonej)
|
||||
endif()
|
||||
endif()
|
||||
if(MSVC)
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue