Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
238702d6
Commit
238702d6
authored
Jun 30, 2015
by
François Grisez
Browse files
Enable internationalisation of liblinphone with CMake
parent
52610bf4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
CMakeLists.txt
CMakeLists.txt
+4
-0
config.h.cmake
config.h.cmake
+1
-0
coreapi/CMakeLists.txt
coreapi/CMakeLists.txt
+3
-0
gtk/CMakeLists.txt
gtk/CMakeLists.txt
+0
-4
No files found.
CMakeLists.txt
View file @
238702d6
...
...
@@ -164,6 +164,10 @@ endif()
if
(
MSVC
)
include_directories
(
${
MSVC_INCLUDE_DIR
}
)
endif
()
if
(
INTL_FOUND
)
set
(
HAVE_GETTEXT 1
)
add_definitions
(
"-DENABLE_NLS"
)
endif
()
add_definitions
(
"-DIN_LINPHONE"
)
...
...
config.h.cmake
View file @
238702d6
...
...
@@ -42,3 +42,4 @@
#cmakedefine HAVE_ZLIB 1
#cmakedefine HAVE_CU_GET_SUITE 1
#cmakedefine HAVE_CU_CURSES 1
#cmakedefine HAVE_GETTEXT 1
coreapi/CMakeLists.txt
View file @
238702d6
...
...
@@ -144,6 +144,9 @@ endif()
if
(
WIN32 AND NOT
"
${
CMAKE_SYSTEM_NAME
}
"
STREQUAL
"WindowsPhone"
)
list
(
APPEND LIBS shlwapi
)
endif
()
if
(
GETTEXT_FOUND
)
list
(
APPEND LIBS
${
INTL_LIBRARIES
}
)
endif
()
if
(
ENABLE_STATIC
)
add_library
(
linphone STATIC
${
SOURCE_FILES
}
${
GENERATED_SOURCE_FILES
}
)
...
...
gtk/CMakeLists.txt
View file @
238702d6
...
...
@@ -72,10 +72,6 @@ if(WIN32)
list
(
APPEND SOURCE_FILES linphone.rc
)
endif
()
if
(
GETTEXT_FOUND
)
add_definitions
(
"-DENABLE_NLS"
)
endif
()
if
(
WIN32
)
add_executable
(
linphone-gtk WIN32
${
SOURCE_FILES
}
)
else
()
...
...
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