summaryrefslogtreecommitdiff
blob: 76f33adfb29771ada8fce4c676e33cc63be71fa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 74fa1e45d27ec25263f828bdacfac236e6a280d4 Mon Sep 17 00:00:00 2001
From: Johannes Huber <johu@gentoo.org>
Date: Fri, 27 Jan 2012 11:17:36 +0100
Subject: [PATCH] Add cmake policy to handle multi lang build.

---
 CMakeLists.txt |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0b34038..653ede2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,6 +2,9 @@ project(ktp-contact-applet)
 
 cmake_minimum_required(VERSION 2.8)
 
+# Workaround to handle multi language build
+cmake_policy(SET CMP0002 OLD)
+
 set(CMAKE_MODULE_PATH
     "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules"
     ${CMAKE_MODULE_PATH}
-- 
1.7.8.4