]> granicus.if.org Git - taglib/commitdiff
not generate it on win32
authorLaurent Montel <montel@kde.org>
Thu, 11 Jun 2009 11:13:48 +0000 (11:13 +0000)
committerLaurent Montel <montel@kde.org>
Thu, 11 Jun 2009 11:13:48 +0000 (11:13 +0000)
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@980173 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

CMakeLists.txt

index d197c4994446be9174a5cab1dab8b8f8ebbca02b..6bb8959fa970f483c1465b235153c765ecfeb4b5 100644 (file)
@@ -46,8 +46,10 @@ SET(TAGLIB_LIB_VERSION_STRING "${TAGLIB_LIB_MAJOR_VERSION}.${TAGLIB_LIB_MINOR_VE
 include(ConfigureChecks.cmake)
 
 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/taglib-config.cmake ${CMAKE_CURRENT_BINARY_DIR}/taglib-config )
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/taglib.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/taglib.pc )
 
+if(NOT WIN32)
+  configure_file(${CMAKE_CURRENT_SOURCE_DIR}/taglib.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/taglib.pc )
+endif(NOT WIN32)
 include_directories(${CMAKE_CURRENT_BINARY_DIR})
 configure_file(config-taglib.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h )