3
0
mirror of https://github.com/triqs/dft_tools synced 2024-07-19 09:23:37 +02:00

Fixed CMake scripts to properly add a c++ library

First of all, 'c++/plovasp/atm' was erroneously removed after
the last merge with the upstream branch.
Now, the whole subdirectory 'c++' is added.
Also, C++ flags are properly imported from the TRIQS configuration.
This commit is contained in:
Oleg E. Peil 2016-03-24 11:40:12 +01:00
parent 041d1c6c40
commit 5dded633b8
2 changed files with 7 additions and 0 deletions

View File

@ -32,6 +32,12 @@ endif(${GIT_RESULT} EQUAL 0)
set(CMAKE_INSTALL_PREFIX ${TRIQS_PATH})
add_subdirectory(fortran/dmftproj)
# Add the compiling options (-D... ) for C++
message(STATUS "TRIQS : Adding compilation flags detected by the library (C++11/14, libc++, etc...) ")
add_definitions(${TRIQS_CXX_DEFINITIONS})
add_subdirectory(c++)
add_subdirectory(python)
add_subdirectory(shells)
add_subdirectory(test)

1
c++/CMakeLists.txt Normal file
View File

@ -0,0 +1 @@
add_subdirectory(plovasp/atm)