File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
source/loaders/cs_loader/netcore Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ if(DOTNET_FOUND)
2828endif ()
2929
3030# Define dotnet command
31- option (DOTNET_COMMAND "Path of .NET Core command" dotnet )
31+ set (DOTNET_COMMAND dotnet CACHE FILEPATH "Path of .NET Core command" FORCE )
3232
3333# Detect dotnet command
3434execute_process (COMMAND ${DOTNET_COMMAND}
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ if(OPTION_BUILD_GUIX)
4040 message (FATAL_ERROR ".NET Core support not implemented in Guix build for versions less than 2.0." )
4141 endif ()
4242
43+ message (STATUS "Using DotNet source ${DOTNET_SOURCE} for Guix build." )
44+
4345 # Build without internet access
4446 add_custom_target (${target} ALL
4547 COMMAND ${DOTNET_COMMAND} restore --source ${DOTNET_SOURCE} ${CMAKE_CURRENT_SOURCE_DIR} /source /project.csproj
You can’t perform that action at this time.
0 commit comments