From 7dd0314c7212d9406d7d7400251db68923dc18d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Sat, 7 May 2011 11:34:20 +0000 Subject: [PATCH] cmake: remove 2.8 warning git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38609 a592a061-630c-0410-9148-cb99ea01b6c8 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index dcc3c016d8..9167dfff68 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,6 +22,7 @@ if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) else() message(STATUS "Building out-of-source") set(TOP_BINARY_DIR "${CMAKE_BINARY_DIR}") + cmake_policy(SET CMP0013 OLD) endif() add_subdirectory(development/cmake "${TOP_BINARY_DIR}")