mirror of
https://github.com/triqs/dft_tools
synced 2024-09-16 17:35:31 +02: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")
|
set(APP4TRIQS_VERSION "1.5")
|
||||||
|
|
||||||
# Start configuration
|
# Start configuration
|
||||||
cmake_minimum_required(VERSION 3.6)
|
cmake_minimum_required(VERSION 2.8.12)
|
||||||
project(app4triqs CXX)
|
project(app4triqs CXX)
|
||||||
|
|
||||||
# Default to Release build type
|
# Default to Release build type
|
||||||
@ -15,7 +15,7 @@ message( STATUS "-------- BUILD-TYPE: ${CMAKE_BUILD_TYPE} --------")
|
|||||||
set(BUILD_SHARED_LIBS OFF)
|
set(BUILD_SHARED_LIBS OFF)
|
||||||
|
|
||||||
# Enable compiler warnings for the whole project
|
# Enable compiler warnings for the whole project
|
||||||
add_definitions(-Wall -fPIC)
|
add_definitions(-Wall)
|
||||||
|
|
||||||
# Load Dependencies
|
# Load Dependencies
|
||||||
find_package(TRIQS ${APP4TRIQS_VERSION} EXACT REQUIRED)
|
find_package(TRIQS ${APP4TRIQS_VERSION} EXACT REQUIRED)
|
||||||
|
Loading…
Reference in New Issue
Block a user