Skip to content

Commit 3060b65

Browse files
tstennercboulay
authored andcommitted
Enable C language for architecture check
1 parent 606df95 commit 3060b65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/LSLCMake.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ function(LSL_get_target_arch)
3737
#else
3838
#error cmake_ARCH unknown
3939
#endif")
40+
enable_language(C)
4041
try_compile(dummy_result "${CMAKE_BINARY_DIR}"
4142
SOURCES "${CMAKE_BINARY_DIR}/arch.c"
4243
OUTPUT_VARIABLE ARCH)

0 commit comments

Comments
 (0)