Skip to content

Commit 52fa385

Browse files
committed
fix: add current to paths in cmake
1 parent 39368e3 commit 52fa385

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,11 @@ set(PY3LM_GITHUB_ACTIONS "0" CACHE STRING "Build with github actions")
193193

194194
if(PY3LM_GITHUB_ACTIONS)
195195
execute_process(COMMAND cmake -E create_symlink
196-
"${CMAKE_SOURCE_DIR}/lib"
197-
"${CMAKE_BINARY_DIR}/lib"
196+
"${CMAKE_CURRENT_SOURCE_DIR}/lib"
197+
"${CMAKE_CURRENT_BINARY_DIR}/lib"
198198
)
199199
execute_process(COMMAND cmake -E create_symlink
200-
"${CMAKE_SOURCE_DIR}/python3.12"
201-
"${CMAKE_BINARY_DIR}/python3.12"
200+
"${CMAKE_CURRENT_SOURCE_DIR}/python3.12"
201+
"${CMAKE_CURRENT_BINARY_DIR}/python3.12"
202202
)
203203
endif()

0 commit comments

Comments
 (0)