]> granicus.if.org Git - taglib/commitdiff
Enable pkg-config on Windows.
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Thu, 18 Jun 2015 16:26:12 +0000 (01:26 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Thu, 18 Jun 2015 16:26:12 +0000 (01:26 +0900)
CMakeLists.txt

index 1c2bf39ef3bc5a482494aa15d9d5ed674be0c83d..b8dc368f2718f13cc7d79503792340fe8db48061 100644 (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()