vcpkg/ports/libxmp/fix-cmake-config-dir.patch
2023-04-15 01:10:34 -07:00

14 lines
403 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1794cb2c1534d53d502785e0446d302e5439216a..c960405632c0d1b4797470424fce4ff8a7ec1aef 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -170,7 +170,7 @@ add_subdirectory(docs)
include(CMakePackageConfigHelpers)
-if(WIN32)
+if(0)
set(cmake_install_cmakdir "cmake")
else()
set(cmake_install_cmakdir "${CMAKE_INSTALL_LIBDIR}/cmake/libxmp")