cmake: Force to use C compiler for asm_scale.S

This fix FTBFS with cmake < 2.8.5

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 9 years ago
parent 87fbdb32ed
commit d663c2fe91

@ -21,7 +21,9 @@ link_directories(
${TQT_LIBRARY_DIRS} ${TQT_LIBRARY_DIRS}
) )
enable_language(CXX ASM) # Force to use C compiler for asm_scale.S instead of ASM
# because contains mixed code - ASM with C definitions
set_source_files_properties( asm_scale.S PROPERTIES LANGUAGE C )
# TODO add assembler flags here (2016-01-14, Fat-Zer) # TODO add assembler flags here (2016-01-14, Fat-Zer)

Loading…
Cancel
Save