Skip to content

Commit 988a562

Browse files
committed
Merge pull request opencv#9969 from mshabunin:dispatch-vs-folders
2 parents 2249674 + 93813fe commit 988a562

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/OpenCVCompilerOptimizations.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,9 @@ macro(ocv_compiler_optimization_process_sources SOURCES_VAR_NAME LIBS_VAR_NAME T
606606
target_include_directories(${TARGET_BASE_NAME}_${OPT} PRIVATE $<TARGET_PROPERTY:${TARGET_BASE_NAME},INCLUDE_DIRECTORIES>)
607607
#list(APPEND __result_libs ${TARGET_BASE_NAME}_${OPT})
608608
list(APPEND __result "$<TARGET_OBJECTS:${TARGET_BASE_NAME}_${OPT}>")
609+
if(ENABLE_SOLUTION_FOLDERS)
610+
set_target_properties(${TARGET_BASE_NAME}_${OPT} PROPERTIES FOLDER "dispatched")
611+
endif()
609612
else()
610613
foreach(fname ${__result_${OPT}})
611614
get_source_file_property(__definitions "${fname}" COMPILE_DEFINITIONS)

0 commit comments

Comments
 (0)