Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export BLT TPL targets #107

Merged
merged 5 commits into from
May 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)