aboutsummaryrefslogtreecommitdiff
path: root/modules/FindTaglib.cmake
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2007-09-30 16:19:18 +0000
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2007-09-30 16:19:18 +0000
commitb94768531ef8881f2b6e7b93c4f0324f02b80487 (patch)
treea0beb3df18e1839a0986f49adb5a49ba2bc3b751 /modules/FindTaglib.cmake
parentaa586468d5a968ce7467cd92bf75d65be05eb605 (diff)
downloadextra-cmake-modules-b94768531ef8881f2b6e7b93c4f0324f02b80487.tar.gz
extra-cmake-modules-b94768531ef8881f2b6e7b93c4f0324f02b80487.tar.bz2
FIND_LIBRARY_EX -> FIND_LIBRARY_WITH_DEBUG
svn path=/trunk/KDE/kdelibs/; revision=719224
Diffstat (limited to 'modules/FindTaglib.cmake')
-rw-r--r--modules/FindTaglib.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/FindTaglib.cmake b/modules/FindTaglib.cmake
index 7b5ffc39..a66ae57b 100644
--- a/modules/FindTaglib.cmake
+++ b/modules/FindTaglib.cmake
@@ -10,8 +10,6 @@
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-include(FindLibraryEx)
-
IF(NOT WIN32)
FIND_PROGRAM(TAGLIBCONFIG_EXECUTABLE NAMES taglib-config PATHS
/usr/bin
@@ -37,6 +35,9 @@ IF(TAGLIBCONFIG_EXECUTABLE)
MARK_AS_ADVANCED(TAGLIB_CFLAGS TAGLIB_LIBRARIES)
ELSE(TAGLIBCONFIG_EXECUTABLE)
+ include(FindLibraryWithDebug)
+ include(FindPackageHandleStandardArgs)
+
find_path(TAGLIB_INCLUDES
NAMES
tag.h
@@ -46,7 +47,7 @@ ELSE(TAGLIBCONFIG_EXECUTABLE)
${INCLUDE_INSTALL_DIR}
)
- FIND_LIBRARY_EX(TAGLIB_LIBRARIES
+ find_library_with_debug(TAGLIB_LIBRARIES
WIN32_DEBUG_POSTFIX d
NAMES tag
PATHS
@@ -54,7 +55,6 @@ ELSE(TAGLIBCONFIG_EXECUTABLE)
${LIB_INSTALL_DIR}
)
- INCLUDE(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Taglib DEFAULT_MSG
TAGLIB_INCLUDES TAGLIB_LIBRARIES)
ENDIF(TAGLIBCONFIG_EXECUTABLE)