3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-06-09 02:21:01 +00:00

CMake: Disable cxx module scanning

This commit is contained in:
Krystine Sherwin 2026-06-08 09:34:30 +12:00
parent d9c3aeb765
commit 5183ede97f
No known key found for this signature in database

View file

@ -31,6 +31,10 @@ include(YosysAbcSubmodule)
include(YosysVerific)
include(UseHomebrew)
# Fix for using Clang from nixpkgs
# see https://github.com/YosysHQ/yosys/pull/5936#issuecomment-4637319568
set(CMAKE_CXX_SCAN_FOR_MODULES NO)
# Build options.
set(YOSYS_COMPILER_LAUNCHER "" CACHE STRING "Compiler launcher (ccache, sccache)")
option(YOSYS_ENABLE_COVERAGE "Enable code coverage" OFF)