multi: completely remove fx.term dependency when interactive support is disabled
This commit is contained in:
+11
-4
@@ -7,11 +7,18 @@ if (NOT DEFINED bshell_interactive)
|
||||
set(bshell_interactive 1)
|
||||
endif ()
|
||||
|
||||
if (NOT DEFINED bshell_verbose)
|
||||
set(bshell_verbose 0)
|
||||
endif ()
|
||||
|
||||
set(required_fx_assemblies fx.runtime fx.collections)
|
||||
|
||||
if (bshell_interactive)
|
||||
set(required_fx_assemblies ${required_fx_assemblies} fx.term)
|
||||
endif ()
|
||||
|
||||
find_package(Python COMPONENTS Interpreter REQUIRED)
|
||||
find_package(FX REQUIRED COMPONENTS
|
||||
fx.runtime
|
||||
fx.collections
|
||||
fx.term)
|
||||
find_package(FX REQUIRED COMPONENTS ${required_fx_assemblies})
|
||||
|
||||
execute_process(
|
||||
COMMAND ${Python_EXECUTABLE}
|
||||
|
||||
Reference in New Issue
Block a user