|
From: Stefano A. <xa...@us...> - 2009-12-10 21:26:16
|
Module: performous
Branch: master
Commit: dd01f1ef94a2ff7cbdef9c5fe122bb7b582a518f
Author: Xaldyz <xa...@us...>
Date: Thu Dec 10 22:25:56 2009 +0100
Find gettext detection
---
cmake/Modules/FindGettext.cmake | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/cmake/Modules/FindGettext.cmake b/cmake/Modules/FindGettext.cmake
index eb5b325..713b150 100644
--- a/cmake/Modules/FindGettext.cmake
+++ b/cmake/Modules/FindGettext.cmake
@@ -10,18 +10,18 @@
include(LibFindMacros)
-libfind_pkg_check_modules(gettext_PKGCONF gettext)
+libfind_pkg_check_modules(Gettext_PKGCONF Gettext)
-find_path(gettext_INCLUDE_DIR
+find_path(Gettext_INCLUDE_DIR
NAMES libintl.h
- PATHS ${gettext_PKGCONF_INCLUDE_DIRS}
+ PATHS ${Gettext_PKGCONF_INCLUDE_DIRS}
)
-find_library(gettext_LIBRARY
+find_library(Gettext_LIBRARY
NAMES libintl
- PATHS ${gettext_PKGCONF_LIBRARY_DIRS}
+ PATHS ${Gettext_PKGCONF_LIBRARY_DIRS}
)
-set(gettext_PROCESS_INCLUDES gettext_INCLUDE_DIR)
-set(gettext_PROCESS_LIBS gettext_LIBRARY)
+set(Gettext_PROCESS_INCLUDES Gettext_INCLUDE_DIR)
+set(Gettext_PROCESS_LIBS Gettext_LIBRARY)
libfind_process(Gettext)
|