Skip to content

Commit 01e1fba

Browse files
committed
ENH: Allow using local EbsdLib during a build
1 parent b4f3ecf commit 01e1fba

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# ------------------------------------------------------------------------------
22
# Required EbsdLib and H5Support
33
# ------------------------------------------------------------------------------
4-
find_package(H5Support REQUIRED)
5-
6-
find_package(EbsdLib REQUIRED)
4+
if(SIMPLNX_USE_LOCAL_EBSD_LIB)
5+
include("${simplnx_SOURCE_DIR}/cmake/UseEbsdLib.cmake")
6+
else()
7+
find_package(H5Support REQUIRED)
8+
find_package(EbsdLib REQUIRED)
9+
endif()
710

811
# ------------------------------------------------------------------------------
912
# EbsdLib needs install rules for creating packages

0 commit comments

Comments
 (0)