Skip to content

Commit

Permalink
Replace CMAKE_CURRENT_SOURCE_DIR to CMAKE_CURRENT_LIST_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
phprus authored and Dead2 committed Jun 2, 2021
1 parent 59306ef commit 025b27e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/detect-arch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ else()
run_result_unused
compile_result_unused
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/cmake/detect-arch.c
${CMAKE_CURRENT_LIST_DIR}/detect-arch.c
COMPILE_OUTPUT_VARIABLE RAWOUTPUT
CMAKE_FLAGS CMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES}
)
Expand Down

0 comments on commit 025b27e

Please sign in to comment.