From 491a9f4d03eb6bf6616953a9544e0995082c75df Mon Sep 17 00:00:00 2001 From: Stephen Roderick Date: Mon, 29 Mar 2010 14:24:58 -0400 Subject: [PATCH] cmake: Correct package name-related variables in CMake config file --- KDLConfig.cmake.in | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/KDLConfig.cmake.in b/KDLConfig.cmake.in index ad35359..ee51c3f 100644 --- a/KDLConfig.cmake.in +++ b/KDLConfig.cmake.in @@ -10,25 +10,25 @@ IF ( PKG_CONFIG_FOUND ) set(ENV{PKG_CONFIG_PATH} "@CMAKE_INSTALL_PREFIX@/lib/pkgconfig/") message( "Looking for KDL in: @CMAKE_INSTALL_PREFIX@") - if(KDL_FIND_REQUIRED) + if(Orocos-KDL_FIND_REQUIRED) pkg_search_module(KDL REQUIRED orocos-kdl) - else(KDL_FIND_REQUIRED) + else(Orocos-KDL_FIND_REQUIRED) pkg_search_module(KDL orocos-kdl) - endif(KDL_FIND_REQUIRED) + endif(Orocos-KDL_FIND_REQUIRED) IF( KDL_FOUND ) - IF(NOT KDL_FIND_QUIETLY) + IF(NOT Orocos-KDL_FIND_QUIETLY) message(" Includes in: ${KDL_INCLUDE_DIRS}") message( "Compiler flags: ${KDL_CFLAGS}") message(" Libraries: ${KDL_LIBRARIES}") message(" Libraries in: ${KDL_LIBRARY_DIRS}") message(" Linker flags : ${KDL_LD_FLAGS}") message(" Defines: ${KDL_DEFINES}") - ENDIF(NOT KDL_FIND_QUIETLY) + ENDIF(NOT Orocos-KDL_FIND_QUIETLY) ELSE(KDL_FOUND) - IF(KDL_FIND_REQUIRED) + IF(Orocos-KDL_FIND_REQUIRED) MESSAGE(FATAL_ERROR "Could not find KDL") - ENDIF(KDL_FIND_REQUIRED) + ENDIF(Orocos-KDL_FIND_REQUIRED) ENDIF ( KDL_FOUND ) ELSE ( PKG_CONFIG_FOUND ) -- 1.7.0.2