nextpnr: Fix build the easy way
``` CMake Error at 3rdparty/googletest/googletest/CMakeLists.txt:48 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. ``` https://www.github.com/YosysHQ/nextpnr/issues/1578
This commit is contained in:
@@ -80,6 +80,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
"-DHIMBAECHEL_GOWIN_DEVICES=all"
|
||||
"-DHIMBAECHEL_PRJBEYOND_DB=${prjbeyond_src}"
|
||||
# https://github.com/YosysHQ/nextpnr/issues/1578
|
||||
# `Compatibility with CMake < 3.5 has been removed from CMake.`
|
||||
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
|
||||
]
|
||||
++ (lib.optional enableGui "-DBUILD_GUI=ON");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user