yuzu/externals/vcpkg/ports/draco/disable-symlinks.patch

32 lines
1.1 KiB
Diff
Raw Normal View History

2022-07-23 05:01:36 +04:00
diff --git a/cmake/draco_targets.cmake b/cmake/draco_targets.cmake
index f2acc72..fb8ce4a 100644
--- a/cmake/draco_targets.cmake
+++ b/cmake/draco_targets.cmake
@@ -102,10 +102,6 @@ macro(draco_add_executable)
add_executable(${exe_NAME} ${exe_SOURCES})
- if(NOT EMSCRIPTEN)
- set_target_properties(${exe_NAME} PROPERTIES VERSION ${DRACO_VERSION})
- endif()
-
if(exe_OUTPUT_NAME)
set_target_properties(${exe_NAME} PROPERTIES OUTPUT_NAME ${exe_OUTPUT_NAME})
endif()
@@ -337,15 +333,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()
-
if(BUILD_SHARED_LIBS AND (MSVC OR WIN32))
if(lib_TYPE STREQUAL SHARED)
target_compile_definitions(${lib_NAME} PRIVATE "DRACO_BUILDING_DLL=1")