-
Notifications
You must be signed in to change notification settings - Fork 669
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Packaging: Add options for fine-grained builds #5957
- Loading branch information
Showing
2 changed files
with
65 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
if (APPLE) | ||
add_subdirectory(MacOSX) | ||
endif() | ||
add_subdirectory(icons) | ||
if(BUILD_SHELL_INTEGRATION_ICONS) | ||
add_subdirectory(icons) | ||
endif() | ||
|
||
if( UNIX AND NOT APPLE ) | ||
add_subdirectory(nautilus) | ||
if(BUILD_SHELL_INTEGRATION_NAUTILUS) | ||
add_subdirectory(nautilus) | ||
endif() | ||
|
||
find_package(ECM 1.2.0 NO_MODULE QUIET) | ||
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/cmake") | ||
find_package(KF5 "5.16" COMPONENTS KIO) | ||
if(KF5_FOUND) | ||
add_subdirectory(dolphin) | ||
else() | ||
message("Dolphin plugin disabled: KDE Frameworks 5.16 not found") | ||
if(BUILD_SHELL_INTEGRATION_DOLPHIN) | ||
find_package(ECM 1.2.0 NO_MODULE QUIET) | ||
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/cmake") | ||
find_package(KF5 "5.16" COMPONENTS KIO) | ||
if(KF5_FOUND) | ||
add_subdirectory(dolphin) | ||
else() | ||
message("Dolphin plugin disabled: KDE Frameworks 5.16 not found") | ||
endif() | ||
endif() | ||
endif() |