mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 14:49:33 +08:00
30 lines
1.2 KiB
Diff
30 lines
1.2 KiB
Diff
|
From 06aa5a06ee543102bf1a4057601adba3490dad60 Mon Sep 17 00:00:00 2001
|
||
|
From: Mikhail Paulyshka <me@mixaill.tk>
|
||
|
Date: Sun, 3 Sep 2017 23:55:11 +0300
|
||
|
Subject: [PATCH] fix exports
|
||
|
|
||
|
---
|
||
|
urdf_parser/CMakeLists.txt | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
diff --git a/urdf_parser/CMakeLists.txt b/urdf_parser/CMakeLists.txt
|
||
|
index 2158965..c209228 100644
|
||
|
--- a/urdf_parser/CMakeLists.txt
|
||
|
+++ b/urdf_parser/CMakeLists.txt
|
||
|
@@ -15,10 +15,12 @@ set_target_properties(urdfdom_model PROPERTIES SOVERSION ${URDF_MAJOR_MINOR_VERS
|
||
|
add_library(urdfdom_sensor SHARED src/urdf_sensor.cpp)
|
||
|
target_link_libraries(urdfdom_sensor urdfdom_model ${TinyXML_LIBRARIES} ${console_bridge_LIBRARIES})
|
||
|
set_target_properties(urdfdom_sensor PROPERTIES SOVERSION ${URDF_MAJOR_MINOR_VERSION})
|
||
|
+set_target_properties(urdfdom_sensor PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||
|
|
||
|
add_library(urdfdom_model_state SHARED src/urdf_model_state.cpp src/twist.cpp)
|
||
|
target_link_libraries(urdfdom_model_state ${TinyXML_LIBRARIES} ${console_bridge_LIBRARIES})
|
||
|
set_target_properties(urdfdom_model_state PROPERTIES SOVERSION ${URDF_MAJOR_MINOR_VERSION})
|
||
|
+set_target_properties(urdfdom_model_state PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||
|
|
||
|
# --------------------------------
|
||
|
|
||
|
--
|
||
|
2.12.2.windows.2
|
||
|
|