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
aa55fe06
Commit
aa55fe06
authored
Jul 01, 2015
by
François Grisez
Browse files
Fix internationalisation with CMake
parent
86f215ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CMakeLists.txt
CMakeLists.txt
+1
-1
gtk/CMakeLists.txt
gtk/CMakeLists.txt
+2
-1
No files found.
CMakeLists.txt
View file @
aa55fe06
...
...
@@ -145,7 +145,7 @@ endif()
if
(
MSVC
)
include_directories
(
${
MSVC_INCLUDE_DIR
}
)
endif
()
if
(
INTL
_FOUND
)
if
(
GETTEXT
_FOUND
)
set
(
HAVE_GETTEXT 1
)
add_definitions
(
"-DENABLE_NLS"
)
endif
()
...
...
gtk/CMakeLists.txt
View file @
aa55fe06
...
...
@@ -84,9 +84,10 @@ 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
${
GTK2_LIBRARIES
}
)
if
(
INTL_LIBRARIES
)
if
(
GETTEXT_FOUND
)
target_link_libraries
(
linphone-gtk
${
INTL_LIBRARIES
}
)
endif
()
if
(
WIN32
)
target_link_libraries
(
linphone-gtk Wininet
)
endif
()
...
...
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