diff --git a/CMakeLists.txt b/CMakeLists.txt index 3bb6f71..f63b069 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,8 +84,6 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") pkg_check_modules(BLKID REQUIRED blkid>=${BLKID_MIN_VERSION}) endif() -include_directories(${Qt5Core_INCLUDE_DIRS} ${UUID_INCLUDE_DIRS} ${BLKID_INCLUDE_DIRS} src/) - add_subdirectory(src) # create a Config.cmake and a ConfigVersion.cmake file and install them diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a51334a..05e3f49 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,6 +6,10 @@ add_definitions(-DTRANSLATION_DOMAIN=\"kpmcore\") +include_directories( + ${BLKID_INCLUDE_DIRS} +) + include(backend/CMakeLists.txt) include(core/CMakeLists.txt) include(util/CMakeLists.txt)