Update CMake dotnet management.

This commit is contained in:
Corentin Le Molgat
2018-11-12 15:35:03 +01:00
parent 786e9399e4
commit 8199429d01
2 changed files with 6 additions and 7 deletions

View File

@@ -1,7 +0,0 @@
if (NOT BUILD_CSHARP)
return()
endif()
find_package(SWIG)
find_package(CSharpUtilities)

6
cmake/dotnet.cmake Normal file
View File

@@ -0,0 +1,6 @@
if(NOT BUILD_DOTNET)
return()
endif()
find_package(SWIG)
find_program (DOTNET_CLI NAMES dotnet)