mirror of
https://github.com/triqs/dft_tools
synced 2024-10-31 19:23:45 +01:00
cmake. add system to boost detection
This commit is contained in:
parent
9290e640fd
commit
27b28790f3
@ -183,9 +183,9 @@ else(BOOST_SOURCE_DIR)
|
||||
set(BOOST_VERSION 1.46)
|
||||
endif()
|
||||
if (PythonSupport)
|
||||
find_package(Boost ${BOOST_VERSION} REQUIRED COMPONENTS mpi python serialization ) #filesystem )
|
||||
find_package(Boost ${BOOST_VERSION} REQUIRED COMPONENTS mpi python serialization system ) #filesystem )
|
||||
Else()
|
||||
find_package(Boost ${BOOST_VERSION} REQUIRED COMPONENTS mpi serialization ) #filesystem )
|
||||
find_package(Boost ${BOOST_VERSION} REQUIRED COMPONENTS mpi serialization system ) #filesystem )
|
||||
endif()
|
||||
if (NOT Boost_FOUND)
|
||||
message(FATAL_ERROR "Boost not found")
|
||||
|
Loading…
Reference in New Issue
Block a user