mirror of https://github.com/llvm/circt.git
CMake: Fix CIRCT_ENABLE_FRONTENDS to be string not bool. (#7110)
This commit is contained in:
parent
923305a9e1
commit
5e95aa09e8
|
@ -8,7 +8,7 @@
|
|||
|
||||
set (CIRCT_KNOWN_FRONTENDS
|
||||
PyCDE)
|
||||
option(CIRCT_ENABLE_FRONTENDS "")
|
||||
set(CIRCT_ENABLE_FRONTENDS "" CACHE STRING "List of frontends to enable")
|
||||
foreach(proj ${CIRCT_KNOWN_FRONTENDS})
|
||||
string(TOUPPER "${proj}" upper_proj)
|
||||
string(REGEX REPLACE "-" "_" upper_proj ${upper_proj})
|
||||
|
|
Loading…
Reference in New Issue