aargh, buggy cmake
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/libdbusmenu-qt5?expand=0&rev=17
This commit is contained in:
parent
43d366bfd0
commit
966317ffa5
@ -1,14 +1,12 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 597a7de..38bd7f4 100644
|
||||
index 597a7de..5185d5d 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -2,6 +2,10 @@ project(dbusmenu-qt)
|
||||
@@ -2,6 +2,8 @@ project(dbusmenu-qt)
|
||||
cmake_minimum_required(VERSION 2.8.11)
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules")
|
||||
|
||||
+if (POLICY CMP0021)
|
||||
+ cmake_policy(SET CMP0021 WARN)
|
||||
+endif (POLICY CMP0021)
|
||||
+cmake_policy(SET CMP0021 OLD)
|
||||
+
|
||||
# Build options
|
||||
option(WITH_DOC "Build documentation (requires Doxygen)" ON)
|
||||
|
Loading…
Reference in New Issue
Block a user