Skip to content

Commit

Permalink
Merge pull request #1313 from epernod/inf_plugin_debug
Browse files Browse the repository at this point in the history
[All] Fix SOFA_LIBSUFFIX used in Debug by PluginManager
  • Loading branch information
guparan authored Apr 8, 2020
2 parents d5d9f02 + 17cc674 commit decca5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SofaKernel/modules/SofaHelper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ endif()
# since this is configuration specific it is a bit more convenient to put it as a debug compile definition for
# PluginManager.cpp, at the expense of being much less visible compare to having it in the generated
# SofaFramework/config.h
set_property(SOURCE system/PluginManager.cpp APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG "SOFA_LIBSUFFIX=_d" )
set_property(SOURCE ${SRC_ROOT}/system/PluginManager.cpp APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG "SOFA_LIBSUFFIX=_d" )

set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "-DSOFA_BUILD_HELPER")
set_target_properties(${PROJECT_NAME} PROPERTIES DEBUG_POSTFIX "_d")
set_target_properties(${PROJECT_NAME} PROPERTIES VERSION "${SOFAFRAMEWORK_VERSION}")
Expand Down

0 comments on commit decca5a

Please sign in to comment.