[LyX/master] Cmake build: Remove deprecated policy warning

Kornel Benko kornel at lyx.org
Sun Mar 1 14:18:08 UTC 2020


commit 4320e505a7d8c253c2c901a987d97a797bca76e8
Author: Kornel Benko <kornel at lyx.org>
Date:   Sun Mar 1 15:36:41 2020 +0100

    Cmake build: Remove deprecated policy warning
---
 CMakeLists.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index cb55653..76c4d57 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -49,7 +49,7 @@ if(COMMAND cmake_policy)
 	endif()
 	cmake_policy(SET CMP0020 NEW)
 	if(POLICY CMP0075)
-        	cmake_policy(SET CMP0075 OLD)
+		cmake_policy(SET CMP0075 NEW)
 	endif()
 endif()
 


More information about the lyx-cvs mailing list