From 133a4fc215f89f2078a38517c450ea82767a15eb Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Sun, 31 Jul 2016 10:18:21 -0500 Subject: [PATCH] cx11 is needed --- packages/CLPBN/horus/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/CLPBN/horus/CMakeLists.txt b/packages/CLPBN/horus/CMakeLists.txt index 06354ad25..92260c68d 100644 --- a/packages/CLPBN/horus/CMakeLists.txt +++ b/packages/CLPBN/horus/CMakeLists.txt @@ -1,6 +1,7 @@ #cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) +if (CMAKE_MAJOR_VERSION GREATER 2) set ( HORUS_SOURCES BayesBall.cpp BayesBallGraph.cpp @@ -71,3 +72,4 @@ LIBRARY DESTINATION ${dlls} ARCHIVE DESTINATION ${dlls} ) +endif()