blob: 130abeba0398c24790cd1ba876d339909a621c17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -ruN OIS-1.5/CMakeLists.txt patched/CMakeLists.txt
--- OIS-1.5/CMakeLists.txt 2018-12-02 02:24:29.000000000 +0100
+++ patched/CMakeLists.txt 2020-04-17 22:38:16.219998682 +0200
@@ -230,7 +230,7 @@
install(FILES $<TARGET_PDB_FILE:OIS> DESTINATION bin OPTIONAL)
endif(MSVC)
-if(UNIX)
+if(UNIX OR MINGW)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/OIS.pc.in ${CMAKE_BINARY_DIR}/OIS.pc @ONLY)
install(FILES ${CMAKE_BINARY_DIR}/OIS.pc DESTINATION ${OIS_LIB_DIRECTORY}/pkgconfig)
endif()
|