File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ function(DLLD_add_deploy target_name)
8181 cmake_parse_arguments (DLLD_add_deploy
8282 "BUILD_MODE;INSTALL_MODE;ALL;VERBOSE;COPY_VC_REDIST"
8383 "INSTALL_DESTINATION"
84- "IGNORE"
84+ "IGNORE;FLAGS "
8585 ${ARGN} )
8686
8787 # Check target type
@@ -130,12 +130,16 @@ function(DLLD_add_deploy target_name)
130130 list (APPEND flags "\" --shallow-search-dir=${cxx_compiler_path} \" " )
131131 endif ()
132132
133+ list (APPEND flags "\" --deep-search-dir=${CMAKE_BINARY_DIR} \" " )
134+
133135 DLLD_replace_backslash (CMAKE_PREFIX_PATH CMAKE_PREFIX_PATH )
134136
135137 foreach (path ${CMAKE_PREFIX_PATH} )
136138 list (APPEND flags "\" --cmake-prefix-path=${path} \" " )
137139 endforeach ()
138140
141+ list (APPEND flags ${DLLD_add_deploy_FLAGS} )
142+
139143 if (${DLLD_add_deploy_BUILD_MODE} )
140144 set (custom_target_name "DLLD_deploy_for_${target_name} " )
141145 if (${DLLD_add_deploy_ALL} )
You can’t perform that action at this time.
0 commit comments