diff --git a/CMakeLists.txt b/CMakeLists.txt index cc18b52..da995b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,7 +75,7 @@ add_definitions( find_package(KPMcore ${KPMCORE_MIN_VERSION} REQUIRED) -include_directories(${Qt5Core_INCLUDE_DIRS} ${UUID_INCLUDE_DIRS} ${BLKID_INCLUDE_DIRS} ${KPMCORE_INCLUDE_DIR} lib/ src/) +include_directories(${Qt${QT_MAJOR_VERSION}Core_INCLUDE_DIRS} ${UUID_INCLUDE_DIRS} ${BLKID_INCLUDE_DIRS} ${KPMCORE_INCLUDE_DIR} src/) add_subdirectory(src) add_subdirectory(icons)