From c45a0694f9412e2bea65a2b9ae35ecd40aae5de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Mon, 13 Jan 2014 22:49:17 +0100 Subject: [PATCH] Also build/install taglib.pc when targetting windows .pc file is notably used when cross-compiling windows software --- bindings/c/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()