mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 04:13:47 +01: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:
parent
041d1c6c40
commit
5dded633b8
@ -32,6 +32,12 @@ endif(${GIT_RESULT} EQUAL 0)
|
|||||||
set(CMAKE_INSTALL_PREFIX ${TRIQS_PATH})
|
set(CMAKE_INSTALL_PREFIX ${TRIQS_PATH})
|
||||||
|
|
||||||
add_subdirectory(fortran/dmftproj)
|
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(python)
|
||||||
add_subdirectory(shells)
|
add_subdirectory(shells)
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
|
1
c++/CMakeLists.txt
Normal file
1
c++/CMakeLists.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
add_subdirectory(plovasp/atm)
|
Loading…
Reference in New Issue
Block a user