From a927f226c0de4e5046d6b38f1fb51422be50bbbd Mon Sep 17 00:00:00 2001
From: Mohcine Chraibi <m.chraibi@fz-juelich.de>
Date: Fri, 14 Jul 2017 16:27:10 +0200
Subject: [PATCH] cmake policy

---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f31f7b2..77a0b86 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,6 +8,7 @@
 #--------------------------------------------------------------------------
 cmake_minimum_required(VERSION 2.8)
 project( jpsvis )
+cmake_policy(SET CMP0025 NEW) #fixes error No known features for CXX compiler (on mac)
 
 MESSAGE( STATUS "System ........................................ ${CMAKE_SYSTEM_NAME} (${CMAKE_SYSTEM_VERSION}, ${CMAKE_SYSTEM_PROCESSOR})" )
 
-- 
GitLab