From de36a64f27746660bf1b0b3b3a5d444f8bc69f8c Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Wed, 18 Nov 2020 17:45:07 -0600 Subject: [PATCH] st/gui: Don't export symbols from cimgui --- src/xrt/state_trackers/gui/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xrt/state_trackers/gui/CMakeLists.txt b/src/xrt/state_trackers/gui/CMakeLists.txt index e1efa36d1..ac28c50ef 100644 --- a/src/xrt/state_trackers/gui/CMakeLists.txt +++ b/src/xrt/state_trackers/gui/CMakeLists.txt @@ -52,6 +52,9 @@ target_include_directories(st_gui PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../../external/imgui ${CMAKE_CURRENT_SOURCE_DIR}/../../drivers ) +target_compile_definitions(st_gui PUBLIC + CIMGUI_NO_EXPORT + ) if(XRT_BUILD_DRIVER_REMOTE) target_link_libraries(st_gui PRIVATE