summaryrefslogtreecommitdiffstats
path: root/CMake
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2013-02-03 22:57:57 +0100
committerErik Schilling <ablu.erikschilling@googlemail.com>2013-02-03 23:18:59 +0100
commit5ba4dbb62d8e5ef86dbd58803cd77268e13f48ce (patch)
treea6d11f17c5f2721dcdee7671d59cf56fb67f84d3 /CMake
parent59a7bc4694a93aae668f2d68409a420a12e8d9fb (diff)
downloadmanaserv-5ba4dbb62d8e5ef86dbd58803cd77268e13f48ce.tar.gz
manaserv-5ba4dbb62d8e5ef86dbd58803cd77268e13f48ce.tar.xz
manaserv-5ba4dbb62d8e5ef86dbd58803cd77268e13f48ce.zip
Fixed configure with old cmake
Diffstat (limited to 'CMake')
-rw-r--r--CMake/Modules/FindSigC++.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/CMake/Modules/FindSigC++.cmake b/CMake/Modules/FindSigC++.cmake
index 45796e5..4c49fb7 100644
--- a/CMake/Modules/FindSigC++.cmake
+++ b/CMake/Modules/FindSigC++.cmake
@@ -13,17 +13,18 @@ libfind_pkg_check_modules(SIGC++_PKGCONF sigc++-2.0)
# Main include dir
find_path(SIGC++_INCLUDE_DIR
NAMES sigc++/sigc++.h
- PATHS ${SigC++_PKGCONF_INCLUDE_DIRS}
+ PATHS ${SIGC++_PKGCONF_INCLUDE_DIRS}
PATH_SUFFIXES sigc++-2.0
)
# Glib-related libraries also use a separate config header, which is in lib dir
find_path(SIGC++Config_INCLUDE_DIR
NAMES sigc++config.h
- PATHS ${SigC++_PKGCONF_INCLUDE_DIRS} /usr
+ PATHS ${SIGC++_PKGCONF_INCLUDE_DIRS} /usr
PATH_SUFFIXES lib/sigc++-2.0/include
)
+
libfind_library(SIGC++ sigc 2.0)
# Set the include dir variables and the libraries and let libfind_process do