File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -332,17 +332,11 @@ endforeach()
332332set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} /lib)
333333set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} /lib)
334334set (CMAKE_UMF_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} /bin)
335- if (MSVC )
335+ if (CMAKE_GENERATOR MATCHES "Visual Studio" OR CMAKE_GENERATOR MATCHES
336+ "Ninja Multi-Config" )
336337 set (CMAKE_UMF_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} /bin/$<CONFIG>)
337338endif ()
338339
339- # Define a path for custom commands to work around MSVC
340- set (CUSTOM_COMMAND_BINARY_DIR ${CMAKE_UMF_OUTPUT_DIRECTORY} )
341- if (MSVC )
342- # MSVC implicitly adds $<CONFIG> to the output path
343- set (CUSTOM_COMMAND_BINARY_DIR ${CUSTOM_COMMAND_BINARY_DIR} /$<CONFIG>)
344- endif ()
345-
346340# Sanitizer flags
347341if (UMF_USE_ASAN)
348342 add_sanitizer_flag(address)
You can’t perform that action at this time.
0 commit comments