void-packages/srcpkgs/boomerang/patches/dont_include_toolchain-file...

13 lines
359 B
Diff

--- CMakeLists.txt
+++ CMakeLists.txt
@@ -16,9 +16,6 @@
set(CMAKE_TOOLCHAIN_FILE "$ENV{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" CACHE STRING "")
endif (DEFINED ENV{VCPKG_ROOT} AND NOT DEFINED CMAKE_TOOLCHAIN_FILE)
-if (CMAKE_TOOLCHAIN_FILE)
- include("${CMAKE_TOOLCHAIN_FILE}")
-endif (CMAKE_TOOLCHAIN_FILE)
set(CMAKE_WARN_DEPRECATED ON)