Skip to content

Commit 6deacd9

Browse files
[axlstar,config] Supprime utilisation de 'CMake/FindDotNetCore' pour rechercher 'dotnet'.
La recherche est déjà faite dans Arccon. Affiche aussi un lien pour télécharger 'dotnet' s'il n'est pas trouvé.
1 parent 12be2fe commit 6deacd9

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

axlstar/CMake/FindDotNetCore.cmake

-13
This file was deleted.

axlstar/CMakeLists.txt

+6-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,12 @@ message(STATUS "AXLSTAR_DOTNET_RUNNER is '${AXLSTAR_DOTNET_RUNNER}'")
3535
if (AXLSTAR_DOTNET_RUNNER STREQUAL mono)
3636
message(FATAL_ERROR "Building with 'mono' is no longer supported. Only 'coreclr' is supported")
3737
elseif (AXLSTAR_DOTNET_RUNNER STREQUAL coreclr)
38-
# Fichier pour rechercher .NetCore.
39-
include(CMake/FindDotNetCore.cmake)
38+
if (NOT DOTNET_EXEC)
39+
message(FATAL_ERROR
40+
"no 'dotnet' exec found.\n"
41+
" You can download a binary version of '.Net 8' at the following address:\n"
42+
" 'https://dotnet.microsoft.com/en-us/download´")
43+
endif()
4044
set(DOTNET_RUNNER_EXEC ${DOTNET_EXEC})
4145
set(DOTNET_BUILDER_EXEC ${DOTNET_EXEC})
4246
set(DLL_EXE_EXTENSION .dll)

0 commit comments

Comments
 (0)