File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -87,11 +87,6 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
8787 find_package (Clang REQUIRED CONFIG ${clang_search_hints} NO_DEFAULT_PATH)
8888 find_package (Cling REQUIRED CONFIG ${cling_search_hints} NO_DEFAULT_PATH)
8989 endif (USE_CLING)
90- if (USE_REPL)
91- message (STATUS "Mode USE_REPL = ON" )
92- find_package (LLVM REQUIRED CONFIG ${llvm_search_hints} NO_DEFAULT_PATH)
93- find_package (Clang REQUIRED CONFIG ${clang_search_hints} NO_DEFAULT_PATH)
94- endif (USE_REPL)
9590
9691 if (LLVM_FOUND)
9792 if (LLVM_PACKAGE_VERSION VERSION_LESS LLVM_MIN_SUPPORTED OR LLVM_PACKAGE_VERSION VERSION_GREATER_EQUAL LLVM_VERSION_UPPER_BOUND)
@@ -147,11 +142,11 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
147142 set (CLANG_VERSION ${CLANG_MIN_SUPPORTED} )
148143 endif ()
149144
150- find_package (Clang ${CLANG_VERSION} REQUIRED CONFIG ${clang_extra_hints } NO_DEFAULT_PATH)
145+ find_package (Clang ${CLANG_VERSION} REQUIRED CONFIG ${clang_search_hints } NO_DEFAULT_PATH)
151146 endif ()
152147
153148 if (NOT Clang_FOUND AND DEFINED Clang_DIR)
154- find_package (Clang REQUIRED CONFIG ${clang_extra_hints } NO_DEFAULT_PATH)
149+ find_package (Clang REQUIRED CONFIG ${clang_search_hints } NO_DEFAULT_PATH)
155150 endif ()
156151
157152 if (NOT Clang_FOUND)
You can’t perform that action at this time.
0 commit comments