diff --git a/cmake/load_local_packages.cmake b/cmake/load_local_packages.cmake index 2227da012b..6bc92937b5 100644 --- a/cmake/load_local_packages.cmake +++ b/cmake/load_local_packages.cmake @@ -7,6 +7,8 @@ include(cmake/local_package.cmake) if (EXISTS "${PROJECT_LIB_DIR}/checkpoint") add_subdirectory(${PROJECT_LIB_DIR}/checkpoint) +elseif(EXISTS "${PROJECT_LIB_DIR}/magistrate") + add_subdirectory(${PROJECT_LIB_DIR}/magistrate) else() # find these required packages locally find_package_local(magistrate) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 39c3b57a64..f4c079c238 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -314,9 +314,9 @@ export( NAMESPACE vt::runtime:: ) -if (EXISTS "${PROJECT_LIB_DIR}/checkpoint") +if (EXISTS "${PROJECT_LIB_DIR}/checkpoint" OR EXISTS "${PROJECT_LIB_DIR}/magistrate") install( - TARGETS checkpoint + TARGETS magistrate EXPORT ${VIRTUAL_TRANSPORT_LIBRARY} ) endif()