3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-01 03:33:50 +01:00
dft_tools/test/CMakeLists.txt

19 lines
488 B
CMake
Raw Normal View History

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