Merge pull request #614 from TsudaKageyu/win32-pkg-config

Enable pkg-config on Windows.
This commit is contained in:
Scott Wheeler 2015-06-19 09:12:32 +02:00
commit e90b5e5f2f

View File

@ -82,7 +82,7 @@ if(WIN32)
install(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/taglib-config.cmd" DESTINATION "${BIN_INSTALL_DIR}")
endif()
if(NOT WIN32 AND NOT BUILD_FRAMEWORK)
if(NOT BUILD_FRAMEWORK)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/taglib.pc.cmake" "${CMAKE_CURRENT_BINARY_DIR}/taglib.pc")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/taglib.pc" DESTINATION "${LIB_INSTALL_DIR}/pkgconfig")
endif()