diff options
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} ) |
