You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/CMakeLists.txt
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,11 @@
1
-
cmake_minimum_required(VERSION3.16)
1
+
# 3.23 for CMAKE_VS_NUGET_PACKAGE_RESTORE
2
+
cmake_minimum_required(VERSION3.23)
3
+
4
+
find_package(mo2-cmakeCONFIGREQUIRED)
5
+
find_package(mo2-uibaseCONFIGREQUIRED)
2
6
3
7
# Dummy .NET library as VS_PACKAGE_REFERENCES doesn't work on C++/CLI projects yet
4
8
# Needs to be declared before cmake_common stuff is included as that polutes the environment and makes C# get compiled as C++
5
-
# This only mostly works - you need to build via Visual Studio or run `msbuild -t:restore installer_omod.sln` at least once before this will build via the command line due to https://gitlab.kitware.com/cmake/cmake/-/issues/20646
0 commit comments