diff options
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) |