vcpkg/ports/draco/disable-symlinks.patch

30 lines
1.1 KiB
Diff
Raw Normal View History

diff --git a/cmake/draco_targets.cmake b/cmake/draco_targets.cmake
2022-10-10 04:59:27 +08:00
index f96dbb1..179b9f9 100644
--- a/cmake/draco_targets.cmake
+++ b/cmake/draco_targets.cmake
2022-10-10 04:59:27 +08:00
@@ -103,9 +103,6 @@ macro(draco_add_executable)
add_executable(${exe_NAME} ${exe_SOURCES})
2022-10-10 04:59:27 +08:00
target_compile_features(${exe_NAME} PRIVATE cxx_std_11)
- if(NOT EMSCRIPTEN)
- set_target_properties(${exe_NAME} PROPERTIES VERSION ${DRACO_VERSION})
- endif()
2022-10-10 04:59:27 +08:00
if(exe_OUTPUT_NAME)
set_target_properties(${exe_NAME} PROPERTIES OUTPUT_NAME ${exe_OUTPUT_NAME})
2022-10-10 04:59:27 +08:00
@@ -340,14 +337,6 @@ macro(draco_add_library)
set_target_properties(${lib_NAME} PROPERTIES PREFIX "")
endif()
- if(NOT EMSCRIPTEN)
- # VERSION and SOVERSION as necessary
- if((lib_TYPE STREQUAL BUNDLE OR lib_TYPE STREQUAL SHARED) AND NOT MSVC)
- set_target_properties(${lib_NAME}
- PROPERTIES VERSION ${DRACO_SOVERSION} SOVERSION
- ${DRACO_SOVERSION_MAJOR})
- endif()
- endif()
2022-10-10 04:59:27 +08:00
if(BUILD_SHARED_LIBS AND (MSVC OR WIN32))
if(lib_TYPE STREQUAL SHARED)