File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 1
- if (DEFINED BLT_SOURCE_DIR )
2
- # Support having a shared BLT outside of the repository if given a BLT_SOURCE_DIR
3
- if (NOT EXISTS ${BLT_SOURCE_DIR} /SetupBLT.cmake )
4
- message (FATAL_ERROR "Given BLT_SOURCE_DIR does not contain SetupBLT.cmake" )
5
- endif ()
6
- else ()
7
- # Use internal BLT if no BLT_SOURCE_DIR is given
8
- set (BLT_SOURCE_DIR "${PROJECT_SOURCE_DIR} /extern/blt" CACHE PATH "" )
9
- if (NOT EXISTS ${BLT_SOURCE_DIR} /SetupBLT.cmake )
10
- message (FATAL_ERROR
11
- "The BLT git submodule is not present. "
12
- "Either run the following two commands in your git repository: \n "
13
- " git submodule init\n "
14
- " git submodule update\n "
15
- "Or add -DBLT_SOURCE_DIR=/path/to/blt to your CMake command." )
16
- endif ()
17
- endif ()
18
-
19
1
if (NOT BLT_LOADED )
20
2
if (DEFINED BLT_SOURCE_DIR )
21
3
if (NOT EXISTS ${BLT_SOURCE_DIR} /SetupBLT.cmake )
You can’t perform that action at this time.
0 commit comments