diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-12 10:22:28 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-12 19:14:09 +0900 |
| commit | a453c2f10b555d82aaafacc8815071835c13e719 (patch) | |
| tree | c7724fb7982c6cf35cf145ebe9bd13df3658e762 /src | |
| parent | 8d9d4e4580022f7e4306df399ea9fd077c9f3c92 (diff) | |
| download | gwenview-a453c2f10b555d82aaafacc8815071835c13e719.tar.gz gwenview-a453c2f10b555d82aaafacc8815071835c13e719.zip | |
Improve code for detection of architecture and MMX support
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
| -rw-r--r-- | src/imageutils/CMakeLists.txt | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/imageutils/CMakeLists.txt b/src/imageutils/CMakeLists.txt index 88257bd..4cfcc9a 100644 --- a/src/imageutils/CMakeLists.txt +++ b/src/imageutils/CMakeLists.txt @@ -8,21 +8,11 @@ include_directories( ##### gvimageutils (static) -set( gvimageutils_SRCS imageutils.cpp jpegcontent.cpp scale.cpp transupp.c croppedqimage.cpp ) - -if( HAVE_X86_MMX ) - list( APPEND gvimageutils_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( gvimageutils STATIC_PIC AUTOMOC - SOURCES ${gvimageutils_SRCS} - LINK tdecore-shared tdeio-shared ${EXIV2_LIBRARIES} ${JPEG_LIBRARIES} + SOURCES + imageutils.cpp jpegcontent.cpp scale.cpp transupp.c croppedqimage.cpp asm_scale.S + LINK + tdecore-shared tdeio-shared ${EXIV2_LIBRARIES} ${JPEG_LIBRARIES} ) |
