mirror of
https://github.com/triqs/dft_tools
synced 2025-01-09 12:44:03 +01:00
Lowering cmake version requirement, removing fPIC global flag
This commit is contained in:
parent
d8f6932888
commit
ee1e563c82
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user