diff options
author | Sebastian Trueg <sebastian@trueg.de> | 2009-05-13 07:42:56 +0000 |
---|---|---|
committer | Sebastian Trueg <sebastian@trueg.de> | 2009-05-13 07:42:56 +0000 |
commit | fa5c61695a8658b5cae4865bd1f124d4a93c2542 (patch) | |
tree | f5f9d4ac171b80b9711ad564fcf17b2836b5748b /modules | |
parent | 2f16ffc3c01179c38cfd938cce7f0395bd3fce9e (diff) | |
download | extra-cmake-modules-fa5c61695a8658b5cae4865bd1f124d4a93c2542.tar.gz extra-cmake-modules-fa5c61695a8658b5cae4865bd1f124d4a93c2542.tar.bz2 |
Make sure to always search the install path first - very important for development with trunk version of Soprano
svn path=/trunk/KDE/kdelibs/; revision=967293
Diffstat (limited to 'modules')
-rw-r--r-- | modules/FindSoprano.cmake | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/modules/FindSoprano.cmake b/modules/FindSoprano.cmake index 1f45f972..fb84c2e4 100644 --- a/modules/FindSoprano.cmake +++ b/modules/FindSoprano.cmake @@ -42,44 +42,44 @@ find_path(SOPRANO_INCLUDE_DIR NAMES soprano/soprano.h - PATHS - ${KDE4_INCLUDE_DIR} + HINTS ${INCLUDE_INSTALL_DIR} + ${KDE4_INCLUDE_DIR} ) find_library_with_debug(SOPRANO_INDEX_LIBRARIES WIN32_DEBUG_POSTFIX d NAMES sopranoindex - PATHS - ${KDE4_LIB_DIR} + HINTS ${LIB_INSTALL_DIR} + ${KDE4_LIB_DIR} ) find_library_with_debug(SOPRANO_CLIENT_LIBRARIES WIN32_DEBUG_POSTFIX d NAMES sopranoclient - PATHS - ${KDE4_LIB_DIR} + HINTS ${LIB_INSTALL_DIR} + ${KDE4_LIB_DIR} ) find_library_with_debug(SOPRANO_LIBRARIES WIN32_DEBUG_POSTFIX d NAMES soprano - PATHS - ${KDE4_LIB_DIR} + HINTS ${LIB_INSTALL_DIR} + ${KDE4_LIB_DIR} ) find_library_with_debug(SOPRANO_SERVER_LIBRARIES WIN32_DEBUG_POSTFIX d NAMES sopranoserver - PATHS - ${KDE4_LIB_DIR} + HINTS ${LIB_INSTALL_DIR} + ${KDE4_LIB_DIR} ) # check for all the libs as required to make sure that we do not try to compile with an old version @@ -178,7 +178,7 @@ if(Soprano_FOUND) if(NOT Soprano_FIND_QUIETLY) - message(STATUS "Found Soprano: ${SOPRANO_LIBRARIES}") + message(STATUS "Found Soprano version ${SOPRANO_VERSION}: ${SOPRANO_LIBRARIES}") message(STATUS "Found Soprano includes: ${SOPRANO_INCLUDE_DIR}") message(STATUS "Found Soprano Index: ${SOPRANO_INDEX_LIBRARIES}") message(STATUS "Found Soprano Client: ${SOPRANO_CLIENT_LIBRARIES}") |