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 committed Nov 19, 2024
1 parent b180cac commit 64fd830
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 @@ -247,8 +247,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)
elif(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 64fd830

Please sign in to comment.