From: Rafaël Carré Date: Mon, 13 Jan 2014 21:49:17 +0000 (+0100) Subject: Also build/install taglib.pc when targetting windows X-Git-Tag: v1.10beta~182^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c45a0694f9412e2bea65a2b9ae35ecd40aae5de5;p=taglib Also build/install taglib.pc when targetting windows .pc file is notably used when cross-compiling windows software --- diff --git a/bindings/c/CMakeLists.txt b/bindings/c/CMakeLists.txt index 2d9dafc4..387f1bd1 100644 --- a/bindings/c/CMakeLists.txt +++ b/bindings/c/CMakeLists.txt @@ -61,7 +61,7 @@ install(TARGETS tag_c PUBLIC_HEADER DESTINATION ${INCLUDE_INSTALL_DIR}/taglib ) -if(NOT WIN32 AND NOT BUILD_FRAMEWORK) +if(NOT BUILD_FRAMEWORK) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/taglib_c.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/taglib_c.pc) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/taglib_c.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) endif()