Skip to content

Commit 3a17fef

Browse files
authored
Remove try_compile target type setting
Removed the setting to avoid try_run checks during cross builds.
1 parent fb7ab5a commit 3a17fef

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

toolbox/overlay-triplets/speedgoat-linux-toolchain.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,3 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
4747
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
4848
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
4949
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
50-
51-
# Avoid try_run / executable checks during configuration on a cross build.
52-
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)

0 commit comments

Comments
 (0)