mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 19:53:45 +01:00
fb6b47cacf
Now that boost compilation is gone, no need of that mess. Put same compilation flags for all code.
17 lines
400 B
CMake
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()
|
|
|