We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6831bfd commit 4c0ae15Copy full SHA for 4c0ae15
CMakeLists.txt
@@ -328,8 +328,7 @@ foreach(dir_to_copy ${directories_to_copy})
328
file(GLOB_RECURSE artifacts_in ${dir_to_copy}/*)
329
list(FILTER artifacts_in EXCLUDE REGEX "\.(d|swp|so|dylib|lib|dll|pcm|bak)$")
330
331
- set(artifacts_out ${artifacts_in})
332
- list(TRANSFORM artifacts_out REPLACE ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR})
+ string(REPLACE ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} artifacts_out "${artifacts_in}")
333
list(APPEND all_artifacts ${artifacts_out})
334
335
add_custom_command(OUTPUT ${artifacts_out}
0 commit comments