cmake: build-id: specify current working directory
This commit is contained in:
@@ -11,6 +11,10 @@ if (NOT DEFINED bshell_verbose)
|
||||
set(bshell_verbose 0)
|
||||
endif ()
|
||||
|
||||
if (NOT DEFINED bshell_enable_floating_point)
|
||||
set(bshell_enable_floating_point 1)
|
||||
endif ()
|
||||
|
||||
set(required_fx_assemblies fx.runtime fx.collections)
|
||||
|
||||
if (bshell_interactive)
|
||||
@@ -23,6 +27,7 @@ find_package(FX REQUIRED COMPONENTS ${required_fx_assemblies})
|
||||
execute_process(
|
||||
COMMAND ${Python_EXECUTABLE}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/tools/build-id.py
|
||||
--source-dir "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
OUTPUT_VARIABLE bshell_version)
|
||||
message(STATUS "B Shell version: ${bshell_version}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user