mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 11:43:47 +01:00
1517cdaaeb
- from now on, C++11 compilers only. - no ressources to maintain old stuff.
19 lines
488 B
CMake
19 lines
488 B
CMake
# some specific flags for tests...
|
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
|
|
include_directories( ${CMAKE_SOURCE_DIR} )
|
|
|
|
SET( link_libs ${LAPACK_LIBS} ${BOOST_LIBRARY} )
|
|
IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
list (REMOVE_DUPLICATES link_libs)
|
|
ENDIF( ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
link_libraries( ${link_libs} triqs)
|
|
|
|
if (NOT compiler_is_obsolete_gcc)
|
|
add_subdirectory(triqs)
|
|
add_subdirectory(speed)
|
|
endif()
|
|
if (PythonSupport)
|
|
add_subdirectory(pytriqs)
|
|
endif()
|
|
|