mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Use cxx linker for linphone GTK and liblinphone_tester when building with CMake.
This commit is contained in:
parent
29873fe5e1
commit
a705112921
2 changed files with 2 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ if(WIN32)
|
|||
else()
|
||||
add_executable(linphone-gtk ${SOURCE_FILES})
|
||||
endif()
|
||||
set_target_properties(linphone-gtk PROPERTIES OUTPUT_NAME linphone)
|
||||
set_target_properties(linphone-gtk PROPERTIES OUTPUT_NAME linphone LINKER_LANGUAGE CXX)
|
||||
target_include_directories(linphone-gtk PUBLIC ${GTK2_INCLUDE_DIRS} ${INTL_INCLUDE_DIRS})
|
||||
target_link_libraries(linphone-gtk linphone ${GTK2_LIBRARIES})
|
||||
if(INTL_LIBRARIES)
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ set(SOURCE_FILES
|
|||
)
|
||||
|
||||
add_executable(liblinphone_tester ${SOURCE_FILES})
|
||||
set_target_properties(liblinphone_tester PROPERTIES LINKER_LANGUAGE CXX)
|
||||
target_include_directories(liblinphone_tester PUBLIC ${CUNIT_INCLUDE_DIRS})
|
||||
target_link_libraries(liblinphone_tester linphone ${CUNIT_LIBRARIES})
|
||||
if (GTK2_FOUND)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue