From 0e93aecc9d6e8736fa9b2bf0b9a8c6adc30e6337 Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Mon, 24 Sep 2007 10:53:59 +0000 Subject: switch to new macro FIND_LIBRARY_EX() to avoid code duplication svn path=/trunk/KDE/kdelibs/; revision=716254 --- modules/FindTaglib.cmake | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'modules/FindTaglib.cmake') diff --git a/modules/FindTaglib.cmake b/modules/FindTaglib.cmake index 1602fe1d..7b5ffc39 100644 --- a/modules/FindTaglib.cmake +++ b/modules/FindTaglib.cmake @@ -10,6 +10,8 @@ # 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 @@ -44,12 +46,12 @@ ELSE(TAGLIBCONFIG_EXECUTABLE) ${INCLUDE_INSTALL_DIR} ) - FIND_LIBRARY(TAGLIB_LIBRARIES - NAMES - tag - PATHS - ${KDE4_LIB_DIR} - ${LIB_INSTALL_DIR} + FIND_LIBRARY_EX(TAGLIB_LIBRARIES + WIN32_DEBUG_POSTFIX d + NAMES tag + PATHS + ${KDE4_LIB_DIR} + ${LIB_INSTALL_DIR} ) INCLUDE(FindPackageHandleStandardArgs) -- cgit v1.2.1