3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-26 06:14:14 +01:00
dft_tools/test/CMakeLists.txt
Olivier Parcollet fb6b47cacf cmake. group c++11 flags
Now that boost compilation is gone, no need
of that mess.
Put same compilation flags for all code.
2013-12-04 22:24:14 +01:00

17 lines
400 B
CMake

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()