Skip to content

Commit 4b94a27

Browse files
committed
Fix default directory for sources
1 parent dece090 commit 4b94a27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/modules/cmake/BCMConfig.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@ function(patch_directory SOURCES_DIRECTORY PATCHES_DIRECTORY OUTPUT_DIRECTORY)
9292
endfunction()
9393

9494
function(set_current_source_dir WORKSPACE_SOURCE RESULT_NAME)
95-
string(REPLACE "/libs" "/boost_1.58/libs" CURRENT_SOURCES_DIR ${WORKSPACE_SOURCE})
95+
string(REPLACE "/libs" "/${BUILD_WITH_SOURCES_DIR}/libs" CURRENT_SOURCES_DIR ${WORKSPACE_SOURCE})
9696
set(${RESULT_NAME} ${CURRENT_SOURCES_DIR} PARENT_SCOPE)
9797
endfunction()

0 commit comments

Comments
 (0)