summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-03-13 01:47:10 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-03-13 01:47:10 +0100
commitd663c2fe913b985bdec1b170c43a09af39dd5156 (patch)
tree8461144030723f138407ec745edab7e774e94345 /src
parent87fbdb32edf76217c9376e58f6b4c86f7bdd19d8 (diff)
downloadk3b-d663c2fe913b985bdec1b170c43a09af39dd5156.tar.gz
k3b-d663c2fe913b985bdec1b170c43a09af39dd5156.zip
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>
Diffstat (limited to 'src')
-rw-r--r--src/fastscale/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fastscale/CMakeLists.txt b/src/fastscale/CMakeLists.txt
index 267d764..66812fd 100644
--- a/src/fastscale/CMakeLists.txt
+++ b/src/fastscale/CMakeLists.txt
@@ -21,7 +21,9 @@ link_directories(
${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)