blob: 43044fef2b76659d74890836489beff0ccf4789b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 683c270..25be4b5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,11 +1,13 @@
project(ksnapshot)
find_package(KDE4 REQUIRED)
-find_package(Kipi)
include(KDE4Defaults)
include(MacroLibrary)
include(MacroOptionalAddSubdirectory)
include(MacroBoolTo01)
+include(MacroOptionalFindPackage)
+
+macro_optional_find_package(Kipi)
add_definitions (${QT_DEFINITIONS} ${QT_QTDBUS_DEFINITIONS} ${KDE4_DEFINITIONS})
include_directories (${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
|