updated cmake to include library for Windows demangling

release/4.3a0
Varun Agrawal 2020-05-18 16:43:14 -05:00
parent d05279ee5e
commit 25bf695b77
1 changed files with 4 additions and 0 deletions

View File

@ -172,6 +172,10 @@ if(WIN32) # Add 'lib' prefix to static library to avoid filename collision with
endif() endif()
endif() endif()
if(WIN32) # library to help with demangling variable names on Windows
target_link_libraries(gtsam PRIVATE Dbghelp)
endif()
install( install(
TARGETS gtsam TARGETS gtsam
EXPORT GTSAM-exports EXPORT GTSAM-exports