|
From: Stefano A. <xa...@us...> - 2009-12-21 17:54:55
|
Module: performous
Branch: master
Commit: 5d893adeb7900692fd9fda4da122b74a03a21b49
Author: Xaldyz <xa...@us...>
Date: Mon Dec 21 18:54:38 2009 +0100
Fixed variable problems into FindGettext.cmake
---
cmake/Modules/FindGettext.cmake | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/cmake/Modules/FindGettext.cmake b/cmake/Modules/FindGettext.cmake
index 2582a1c..1b13934 100644
--- a/cmake/Modules/FindGettext.cmake
+++ b/cmake/Modules/FindGettext.cmake
@@ -10,10 +10,9 @@
include(LibFindMacros)
-# On Linux there is no pkgconfig script and gettext is part of glibc
+# On Linux there is no pkgconfig script, but with this we force Gettext_PKGCONF_INCLUDE_DIRS to ""
+libfind_pkg_check_modules(Gettext_PKGCONF Gettext)
if(WIN32 OR APPLE)
- libfind_pkg_check_modules(Gettext_PKGCONF Gettext)
-
set(Gettext_LIBRARY_SEARCH_DIRS
${Gettext_PKGCONF_LIBRARY_DIRS}
/opt/local/lib
|