aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spendrin <ps_ml@gmx.de>2010-01-20 13:57:36 +0000
committerPatrick Spendrin <ps_ml@gmx.de>2010-01-20 13:57:36 +0000
commit1b6370cac6fb270b5ec4d667c9acb41d5a08429c (patch)
treebf1bf99889bf07a86c273cc84ea53291e108e8e6
parentb62c9ee93f3cec43145514d5fb9b76e1e43a6b0c (diff)
downloadextra-cmake-modules-1b6370cac6fb270b5ec4d667c9acb41d5a08429c.tar.gz
extra-cmake-modules-1b6370cac6fb270b5ec4d667c9acb41d5a08429c.tar.bz2
this is not needed anymore due to the changes in FindQt4.cmake
CCMAIL:neundorf@kde.org svn path=/branches/KDE/4.4/kdelibs/; revision=1077613
-rw-r--r--modules/HandleImportedTargetsInCMakeRequiredLibraries.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/HandleImportedTargetsInCMakeRequiredLibraries.cmake b/modules/HandleImportedTargetsInCMakeRequiredLibraries.cmake
index e28efd44..b775b424 100644
--- a/modules/HandleImportedTargetsInCMakeRequiredLibraries.cmake
+++ b/modules/HandleImportedTargetsInCMakeRequiredLibraries.cmake
@@ -44,11 +44,7 @@ FUNCTION(HANDLE_IMPORTED_TARGETS_IN_CMAKE_REQUIRED_LIBRARIES _RESULT)
ENDIF ("${_CCSR_LOOP_COUNTER}" LESS 100)
LIST(GET _importedConfigs 0 _firstImportedConfig)
- IF(NOT WIN32)
- GET_TARGET_PROPERTY(_firstImportedLocation ${_CURRENT_LIB} IMPORTED_LOCATION_${_firstImportedConfig})
- ELSE(NOT WIN32)
- GET_TARGET_PROPERTY(_firstImportedLocation ${_CURRENT_LIB} IMPORTED_IMPLIB_${_firstImportedConfig})
- ENDIF(NOT WIN32)
+ GET_TARGET_PROPERTY(_firstImportedLocation ${_CURRENT_LIB} IMPORTED_LOCATION_${_firstImportedConfig})
GET_TARGET_PROPERTY(_linkInterfaceLibs ${_CURRENT_LIB} IMPORTED_LINK_INTERFACE_LIBRARIES_${_firstImportedConfig} )
LIST(APPEND _CCSR_NEW_REQ_LIBS ${_firstImportedLocation})