3
0
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:
Olivier Parcollet 2013-07-26 10:41:10 +02:00
parent 9290e640fd
commit 27b28790f3

View File

@ -183,9 +183,9 @@ else(BOOST_SOURCE_DIR)
set(BOOST_VERSION 1.46) set(BOOST_VERSION 1.46)
endif() endif()
if (PythonSupport) 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() Else()
find_package(Boost ${BOOST_VERSION} REQUIRED COMPONENTS mpi serialization ) #filesystem ) find_package(Boost ${BOOST_VERSION} REQUIRED COMPONENTS mpi serialization system ) #filesystem )
endif() endif()
if (NOT Boost_FOUND) if (NOT Boost_FOUND)
message(FATAL_ERROR "Boost not found") message(FATAL_ERROR "Boost not found")