Skip to content

Commit

Permalink
[cmake] if TTG_PARSEC_USE_BOOST_SERIALIZATION=ON but boost found make…
Browse files Browse the repository at this point in the history
… ttg-parsec only use madness serialization
  • Loading branch information
evaleev authored and devreal committed Nov 21, 2024
1 parent 6005a38 commit be48e00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ttg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,10 @@ if (TARGET PaRSEC::parsec)
# parsec depends on TTG's serialization layer since it does not provide its own
if (TTG_PARSEC_USE_BOOST_SERIALIZATION AND TARGET ttg-serialization-boost)
list(APPEND ttg-parsec-deps ttg-serialization-boost)
elseif(TARGET ttg-serialization-madness)
list(APPEND ttg-parsec-deps ttg-serialization-madness)
else()
list(APPEND ttg-parsec-deps ttg-serialization)
message(WARNING "missing full-featured serialization support for ttg-parsec: either TTG_PARSEC_USE_BOOST_SERIALIZATION=OFF or Boost not found, and MADNESS not found")
endif()
add_ttg_library(ttg-parsec "${ttg-parsec-headers}"
PUBLIC_HEADER "${ttg-parsec-headers}"
Expand Down

0 comments on commit be48e00

Please sign in to comment.