From ee1e563c82db95e0b72dbd015f69366fb8959b40 Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Fri, 6 Apr 2018 14:36:32 +0200 Subject: [PATCH] Lowering cmake version requirement, removing fPIC global flag --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 886280b9..f45b10fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ set(APP4TRIQS_VERSION "1.5") # Start configuration -cmake_minimum_required(VERSION 3.6) +cmake_minimum_required(VERSION 2.8.12) project(app4triqs CXX) # Default to Release build type @@ -15,7 +15,7 @@ message( STATUS "-------- BUILD-TYPE: ${CMAKE_BUILD_TYPE} --------") set(BUILD_SHARED_LIBS OFF) # Enable compiler warnings for the whole project -add_definitions(-Wall -fPIC) +add_definitions(-Wall) # Load Dependencies find_package(TRIQS ${APP4TRIQS_VERSION} EXACT REQUIRED)