diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-12 10:28:20 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-13 17:51:07 +0900 |
| commit | 39f2157d6d3033db0ced5ef285896267e9fcbfaa (patch) | |
| tree | d619274af95b055b0e751f480d715ffb366cca1e /src | |
| parent | 0a362fbf4fb9a460a165931d1548f3ad7c9b844d (diff) | |
| download | k3b-39f2157d.tar.gz k3b-39f2157d.zip | |
Improve code for detection of architecture and MMX support
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1c5de889340c3d27620e500937dda8c6f0a3421d)
Diffstat (limited to 'src')
| -rw-r--r-- | src/fastscale/CMakeLists.txt | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/fastscale/CMakeLists.txt b/src/fastscale/CMakeLists.txt index 91bb8c7..b057f5d 100644 --- a/src/fastscale/CMakeLists.txt +++ b/src/fastscale/CMakeLists.txt @@ -24,19 +24,7 @@ link_directories( ##### fastscale (static) ######################## -set( fastscale_SRCS scale.cpp ) - -if( HAVE_X86_MMX ) - list( APPEND fastscale_SRCS asm_scale.S ) - - # Force to use C compiler for asm_scale.S instead of ASM - # because it contains mixed code - ASM with C definitions - set_source_files_properties( asm_scale.S PROPERTIES LANGUAGE C ) - - add_compile_options( -DHAVE_X86_MMX ) -endif( ) - tde_add_library( fastscale STATIC_PIC AUTOMOC - SOURCES ${fastscale_SRCS} + SOURCES scale.cpp asm_scale.S LINK tdecore-shared ) |
