diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-09-29 22:57:48 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-09-29 22:57:48 +0000 |
commit | edba101895bae168e7aa1b6c49214e04ccffb2e3 (patch) | |
tree | 2fd64fb042348d9184baff724efd0ae23b7bbf4f /CMakeLists.txt | |
parent | 28c2484cea67ced210e9edfb94624e6ae63a24c3 (diff) | |
download | navit-edba101895bae168e7aa1b6c49214e04ccffb2e3.tar.gz |
Fix:build/cmake:Handle "support/gettext_intl" like the other support libs.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5649 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-x | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a21592758..7b7223d66 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,6 +75,7 @@ add_plugin(support/glib "native Glib found" FALSE) add_plugin(support/zlib "native zlib found" FALSE) add_plugin(support/libpng "native libpng found" FALSE) add_plugin(support/wordexp "native wordexp found" FALSE) +add_plugin(support/gettext_intl "native libintl found" FALSE) add_module(font/freetype "freetype not found" FALSE) add_module(graphics/android "FreeType library not found" FALSE) add_module(graphics/gd "FreeType library not found" FALSE) @@ -174,7 +175,7 @@ CHECK_FUNCTION_EXISTS(fsync HAVE_FSYNC) ### Configure build #Required libraries, supplied with navit if (NOT HAVE_LIBINTL) - add_plugin(support/gettext_intl "native libintl missing" TRUE) + set_with_reason(support/gettext_intl "native libintl missing" TRUE) set(USE_LIBGNUINTL TRUE) else() CHECK_LIBRARY_EXISTS(intl libintl_fprintf "" NEEDS_LIBINTL) @@ -184,7 +185,6 @@ else() endif(NEEDS_LIBINTL) endif(NOT HAVE_LIBINTL) - if (CMAKE_USE_PTHREADS_INIT) if (NOT ANDROID) list(APPEND NAVIT_LIBS pthread) |