CMake: Fix CIRCT_ENABLE_FRONTENDS to be string not bool. (#7110)

This commit is contained in:
Will Dietz 2024-05-31 13:27:57 -05:00 committed by GitHub
parent 923305a9e1
commit 5e95aa09e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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})