Skip to content

Commit

Permalink
Merge pull request #107 from LLNL/feature/export-blt-targets
Browse files Browse the repository at this point in the history
Export BLT TPL targets
  • Loading branch information
trws authored May 24, 2022
2 parents a62b543 + 6b867b7 commit 98c21d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/load_blt.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
if (NOT BLT_LOADED)
set(BLT_EXPORT_THIRDPARTY ON CACHE BOOL "")
if (DEFINED BLT_SOURCE_DIR)
if (NOT EXISTS ${BLT_SOURCE_DIR}/SetupBLT.cmake)
message(FATAL_ERROR "Given BLT_SOURCE_DIR does not contain SetupBLT.cmake")
Expand All @@ -18,3 +19,4 @@ if (NOT BLT_LOADED)
include(${BLT_SOURCE_DIR}/SetupBLT.cmake)
endif()

blt_export_tpl_targets(EXPORT campTargets NAMESPACE camp)

0 comments on commit 98c21d3

Please sign in to comment.