Skip to content

Commit 9f4c8cd

Browse files
committed
cmake: Fix check_arm32_assembly when using as subproject
1 parent 7712a53 commit 9f4c8cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/CheckArm32Assembly.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function(check_arm32_assembly)
22
try_compile(HAVE_ARM32_ASM
3-
${CMAKE_BINARY_DIR}/check_arm32_assembly
4-
SOURCES ${CMAKE_SOURCE_DIR}/cmake/source_arm32.s
3+
${PROJECT_BINARY_DIR}/check_arm32_assembly
4+
SOURCES ${PROJECT_SOURCE_DIR}/cmake/source_arm32.s
55
)
66
endfunction()

0 commit comments

Comments
 (0)