2021-11-05 03:57:01 +08:00
|
|
|
diff --git a/cmake/draco_targets.cmake b/cmake/draco_targets.cmake
|
2023-05-06 01:55:33 +08:00
|
|
|
index c8c79f5..1cec5b8 100644
|
2021-11-05 03:57:01 +08:00
|
|
|
--- a/cmake/draco_targets.cmake
|
|
|
|
+++ b/cmake/draco_targets.cmake
|
2023-05-06 01:55:33 +08:00
|
|
|
@@ -111,9 +111,6 @@ macro(draco_add_executable)
|
|
|
|
|
|
|
|
target_compile_features(${exe_NAME} PUBLIC cxx_std_11)
|
2021-11-05 03:57:01 +08:00
|
|
|
|
|
|
|
- if(NOT EMSCRIPTEN)
|
|
|
|
- set_target_properties(${exe_NAME} PROPERTIES VERSION ${DRACO_VERSION})
|
|
|
|
- endif()
|
2022-10-10 04:59:27 +08:00
|
|
|
|
2021-11-05 03:57:01 +08:00
|
|
|
if(exe_OUTPUT_NAME)
|
|
|
|
set_target_properties(${exe_NAME} PROPERTIES OUTPUT_NAME ${exe_OUTPUT_NAME})
|
2023-05-06 01:55:33 +08:00
|
|
|
@@ -364,14 +361,6 @@ macro(draco_add_library)
|
2021-11-05 03:57:01 +08:00
|
|
|
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)
|
2023-05-06 01:55:33 +08:00
|
|
|
- set_target_properties(
|
|
|
|
- ${lib_NAME} PROPERTIES VERSION ${DRACO_SOVERSION}
|
|
|
|
- SOVERSION ${DRACO_SOVERSION_MAJOR})
|
2021-11-05 03:57:01 +08:00
|
|
|
- endif()
|
|
|
|
- endif()
|
2022-10-10 04:59:27 +08:00
|
|
|
|
2021-11-05 03:57:01 +08:00
|
|
|
if(BUILD_SHARED_LIBS AND (MSVC OR WIN32))
|
|
|
|
if(lib_TYPE STREQUAL SHARED)
|