commit 71253761045307444fff5f9e7c27878689e5904a
parent 26bbe9344c97e0128f10e01a615a39e1d93431c1
Author: vaplv <vaplv@free.fr>
Date: Tue, 18 Dec 2018 11:27:26 +0100
Disable the warning reported by the FindOpenMP module
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -17,6 +17,10 @@ cmake_minimum_required(VERSION 3.0)
project(rsys C)
enable_testing()
+if(POLICY CMP0054)
+ cmake_policy(SET CMP0054 NEW)
+endif()
+
set(RSYS_SOURCE_DIR ${PROJECT_SOURCE_DIR}/../src)
option(NO_TEST "Disable the test" OFF)