File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ set(UMF_INSTALL_RPATH
89
89
"Set the runtime search path to the directory with dependencies (e.g. hwloc)"
90
90
)
91
91
92
+ umf_option(UMF_USE_DEBUG_POSTFIX "Add a 'd' postfix to Windows debug libraries" OFF )
92
93
umf_option(UMF_DEVELOPER_MODE "Enable additional developer checks" OFF )
93
94
umf_option(
94
95
UMF_FORMAT_CODE_STYLE
Original file line number Diff line number Diff line change @@ -391,6 +391,10 @@ function(add_umf_library)
391
391
${UMF_CMAKE_SOURCE_DIR} /src/coarse)
392
392
add_umf_target_compile_options(${ARG_NAME} )
393
393
add_umf_target_link_options(${ARG_NAME} )
394
+
395
+ if (WINDOWS AND UMF_USE_DEBUG_POSTFIX )
396
+ set_target_properties (${ARG_NAME} PROPERTIES DEBUG_POSTFIX d)
397
+ endif ()
394
398
endfunction ()
395
399
396
400
# Add sanitizer ${flag}, if it is supported, for both C and C++ compiler
You can’t perform that action at this time.
0 commit comments