mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 08:08:59 +08:00
31 lines
1.3 KiB
Diff
31 lines
1.3 KiB
Diff
|
diff -urw a/config/cmake_ext_mod/HDFMacros.cmake b/config/cmake_ext_mod/HDFMacros.cmake
|
||
|
--- a/config/cmake_ext_mod/HDFMacros.cmake 2020-03-03 00:03:12.000000000 +0100
|
||
|
+++ b/config/cmake_ext_mod/HDFMacros.cmake 2021-05-12 07:56:13.703041807 +0200
|
||
|
@@ -144,7 +144,7 @@
|
||
|
endif ()
|
||
|
|
||
|
#----- Use MSVC Naming conventions for Shared Libraries
|
||
|
- if (MINGW AND ${libtype} MATCHES "SHARED")
|
||
|
+ if (FALSE AND MINGW AND ${libtype} MATCHES "SHARED")
|
||
|
set_target_properties (${libtarget} PROPERTIES
|
||
|
IMPORT_SUFFIX ".lib"
|
||
|
IMPORT_PREFIX ""
|
||
|
@@ -168,7 +168,7 @@
|
||
|
|
||
|
if (${libtype} MATCHES "SHARED")
|
||
|
if (WIN32)
|
||
|
- if (MINGW)
|
||
|
+ if (FALSE AND MINGW)
|
||
|
set_target_properties (${libtarget} PROPERTIES
|
||
|
IMPORTED_IMPLIB "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${IMPORT_LIB_NAME}.lib"
|
||
|
IMPORTED_LOCATION "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${IMPORT_LIB_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX}"
|
||
|
@@ -180,7 +180,7 @@
|
||
|
)
|
||
|
endif ()
|
||
|
else ()
|
||
|
- if (MINGW)
|
||
|
+ if (FALSE AND MINGW)
|
||
|
set_target_properties (${libtarget} PROPERTIES
|
||
|
IMPORTED_IMPLIB "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${IMPORT_LIB_NAME}.lib"
|
||
|
IMPORTED_LOCATION "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${IMPORT_LIB_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX}"
|