]> granicus.if.org Git - taglib/commitdiff
Also build/install taglib.pc when targetting windows
authorRafaël Carré <funman@videolan.org>
Mon, 13 Jan 2014 21:49:17 +0000 (22:49 +0100)
committerRafaël Carré <funman@videolan.org>
Mon, 13 Jan 2014 21:49:17 +0000 (22:49 +0100)
.pc file is notably used when cross-compiling windows software

bindings/c/CMakeLists.txt

index 2d9dafc496e6fb096e58d3819347195eb75819e3..387f1bd19531aa8ac57dda668a3d2a420d2cb643 100644 (file)
@@ -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()