SVN commit 1351800 by dfaure: increase major version number when building with Qt5 M +4 -0 qca/CMakeLists.txt M +4 -0 qimageblitz/blitz/CMakeLists.txt --- trunk/kdesupport/qca/CMakeLists.txt #1351799:1351800 @@ -28,7 +28,11 @@ set(PKGCONFIG_INSTALL_PREFIX "${LIB_INSTALL_DIR}/pkgconfig/" CACHE STRING "Base directory for pkgconfig files") +if (Qt5Core_FOUND) + set(QCA_LIB_MAJOR_VERSION "3") +else() set(QCA_LIB_MAJOR_VERSION "2") +endif() set(QCA_LIB_MINOR_VERSION "0") set(QCA_LIB_PATCH_VERSION "3") --- trunk/kdesupport/qimageblitz/blitz/CMakeLists.txt #1351799:1351800 @@ -20,7 +20,11 @@ CHECK_CXX_SOURCE_COMPILES(" int main() { __asm__(\"mtspr 256, %0; vand %%v0, %%v0, %%v0\" : : \"r\"(-1) ); }" HAVE_ALTIVEC) endif(NOT MSVC) +if (Qt5Core_FOUND) + SET(BLITZ_LIB_MAJOR_VERSION "5") +else() SET(BLITZ_LIB_MAJOR_VERSION "4") +endif() SET(BLITZ_LIB_MINOR_VERSION "0") SET(BLITZ_LIB_PATCH_VERSION "0")