Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
liblinphone
Commits
628eb7f5
Commit
628eb7f5
authored
Oct 12, 2016
by
jehan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix static compilation
parent
1faa826d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
1 deletion
+7
-1
console/CMakeLists.txt
console/CMakeLists.txt
+3
-0
daemon/CMakeLists.txt
daemon/CMakeLists.txt
+2
-0
gtk/CMakeLists.txt
gtk/CMakeLists.txt
+1
-0
tester/CMakeLists.txt
tester/CMakeLists.txt
+1
-1
No files found.
console/CMakeLists.txt
View file @
628eb7f5
...
...
@@ -38,6 +38,8 @@ endif()
add_executable
(
linphonec
${
LINPHONEC_SOURCE_FILES
}
)
target_link_libraries
(
linphonec
${
LINPHONE_LIBS_FOR_TOOLS
}
${
BCTOOLBOX_CORE_LIBRARIES
}
${
ORTP_LIBRARIES
}
${
MEDIASTREAMER2_LIBRARIES
}
)
set_target_properties
(
linphonec PROPERTIES LINK_FLAGS
"
${
LINPHONE_LDFLAGS
}
"
)
if
(
INTL_FOUND
)
target_link_libraries
(
linphonec
${
INTL_LIBRARIES
}
)
endif
()
...
...
@@ -52,6 +54,7 @@ endif()
add_executable
(
linphonecsh
${
LINPHONECSH_SOURCE_FILES
}
)
target_link_libraries
(
linphonecsh
${
LINPHONE_LIBS_FOR_TOOLS
}
${
ORTP_LIBRARIES
}
)
set_target_properties
(
linphonecsh PROPERTIES LINK_FLAGS
"
${
LINPHONE_LDFLAGS
}
"
)
set
(
INSTALL_TARGETS linphonec linphonecsh
)
if
(
WIN32
)
...
...
daemon/CMakeLists.txt
View file @
628eb7f5
...
...
@@ -115,9 +115,11 @@ apply_compile_flags(DAEMON_PIPETEST_SOURCE_FILES "CPP" "C")
add_executable
(
linphone-daemon
${
DAEMON_SOURCE_FILES
}
)
target_include_directories
(
linphone-daemon PRIVATE
${
CMAKE_CURRENT_LIST_DIR
}
)
target_link_libraries
(
linphone-daemon
${
LINPHONE_LIBS_FOR_TOOLS
}
${
MEDIASTREAMER2_LIBRARIES
}
)
set_target_properties
(
linphone-daemon PROPERTIES LINK_FLAGS
"
${
LINPHONE_LDFLAGS
}
"
)
add_executable
(
linphone-daemon-pipetest
${
DAEMON_PIPETEST_SOURCE_FILES
}
)
target_link_libraries
(
linphone-daemon-pipetest
${
LINPHONE_LIBS_FOR_TOOLS
}
${
ORTP_LIBRARIES
}
)
set_target_properties
(
linphone-daemon-pipetest PROPERTIES LINK_FLAGS
"
${
LINPHONE_LDFLAGS
}
"
)
set
(
INSTALL_TARGETS linphone-daemon linphone-daemon-pipetest
)
...
...
gtk/CMakeLists.txt
View file @
628eb7f5
...
...
@@ -95,6 +95,7 @@ endif()
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_LIBS_FOR_TOOLS
}
${
GTK2_LIBRARIES
}
${
BCTOOLBOX_CORE_LIBRARIES
}
${
ORTP_LIBRARIES
}
${
MEDIASTREAMER2_LIBRARIES
}
)
set_target_properties
(
linphone-gtk PROPERTIES LINK_FLAGS
"
${
LINPHONE_LDFLAGS
}
"
)
if
(
INTL_FOUND
)
target_link_libraries
(
linphone-gtk
${
INTL_LIBRARIES
}
)
endif
()
...
...
tester/CMakeLists.txt
View file @
628eb7f5
...
...
@@ -267,10 +267,10 @@ if (NOT ANDROID AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
if
(
IOS
)
set_source_files_properties
(
${
IOS_RESOURCES_FILES
}
PROPERTIES MACOSX_PACKAGE_LOCATION Resources
)
add_executable
(
liblinphone_tester MACOSX_BUNDLE
${
IOS_RESOURCES_FILES
}
${
SOURCE_FILES_C
}
${
SOURCE_FILES_OBJC
}
)
set_target_properties
(
liblinphone_tester PROPERTIES LINK_FLAGS
"
${
LINPHONE_LDFLAGS
}
"
)
else
()
add_executable
(
liblinphone_tester
${
SOURCE_FILES_C
}
${
SOURCE_FILES_OBJC
}
)
endif
()
set_target_properties
(
liblinphone_tester PROPERTIES LINK_FLAGS
"
${
LINPHONE_LDFLAGS
}
"
)
set_target_properties
(
liblinphone_tester PROPERTIES LINKER_LANGUAGE CXX
)
target_include_directories
(
liblinphone_tester PUBLIC
${
BCTOOLBOX_TESTER_INCLUDE_DIRS
}
)
target_link_libraries
(
liblinphone_tester
${
LINPHONE_LIBS_FOR_TOOLS
}
${
OTHER_LIBS_FOR_TESTER
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment