Commit 2c309d0d authored by Alexander Potashev's avatar Alexander Potashev
Browse files

Drop check for CMake 2.4

We don't support CMake 2.4 anyway.

CCMAIL: pino@kde.org
parent a88a422f
......@@ -336,25 +336,12 @@ set(kolourpaint_app_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options/kpToolWidgetSpraycanSize.cpp
) # set(kolourpaint_app_SRCS
if(CMAKE_MAJOR_VERSION MATCHES "2" AND CMAKE_MINOR_VERSION MATCHES "4" AND MINGW)
set(kolourpaint_SRCS ${kolourpaint_app_SRCS})
kde4_add_library(kolourpaint_lib1 STATIC ${kolourpaint_lib1_SRCS})
kde4_add_library(kolourpaint_lib2 STATIC ${kolourpaint_lib2_SRCS})
# doubled for the linker
set(mingw_libs kolourpaint_lib1 kolourpaint_lib2 kolourpaint_lib1 kolourpaint_lib2)
else(CMAKE_MAJOR_VERSION MATCHES "2" AND CMAKE_MINOR_VERSION MATCHES "4" AND MINGW)
set(kolourpaint_SRCS
${kolourpaint_lib1_SRCS}
${kolourpaint_lib2_SRCS}
${kolourpaint_app_SRCS}
)
endif(CMAKE_MAJOR_VERSION MATCHES "2" AND CMAKE_MINOR_VERSION MATCHES "4" AND MINGW)
set(kolourpaint_lgpl_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/lgpl/generic/kpUrlFormatter.cpp
${CMAKE_CURRENT_SOURCE_DIR}/lgpl/generic/kpColorCollection.cpp
......@@ -385,7 +372,6 @@ kde4_add_app_icon(kolourpaint_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/pics/app/hi*-app
kde4_add_executable(kolourpaint ${kolourpaint_SRCS})
target_link_libraries(kolourpaint
${mingw_libs}
${KDE4_KIO_LIBS}
${KDE4_KUTILS_LIBS}
${QIMAGEBLITZ_LIBRARIES}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment