From b4ab8c69b86b7e7a6077b7ad99c7fe24bc0c7539 Mon Sep 17 00:00:00 2001 From: viferga Date: Wed, 8 Apr 2020 13:53:36 -0800 Subject: [PATCH] Add dotnet command configurable from an option in order to provide support for Guix. --- cmake/FindDotNET.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindDotNET.cmake b/cmake/FindDotNET.cmake index b508b3ee1..07faa3479 100644 --- a/cmake/FindDotNET.cmake +++ b/cmake/FindDotNET.cmake @@ -28,7 +28,7 @@ if(DOTNET_FOUND) endif() # Define dotnet command -set(DOTNET_COMMAND dotnet) +option(DOTNET_COMMAND "Path of .NET Core command" dotnet) # Detect dotnet command execute_process(COMMAND ${DOTNET_COMMAND}