excludes quantum_keeper if SystemC is not 3.0 or higher
Some checks failed
SCC Test/pipeline/head There was a failure building this commit

This commit is contained in:
2025-11-09 14:22:59 +01:00
parent 5805d19cf0
commit a07057e869
2 changed files with 9 additions and 6 deletions

2
scc

Submodule scc updated: bf3b4e5179...e8cda40eaa

View File

@@ -1,5 +1,8 @@
add_executable (quantum_keeper_mt
message(STATUS "SC_VERSION is ${SC_VERSION_MAJOR}.${SC_VERSION_MINOR}.${SC_VERSION_PATCH}")
if(SC_VERSION_MAJOR GREATER 2)
add_executable (quantum_keeper_mt
sc_main.cpp
)
target_link_libraries (quantum_keeper_mt LINK_PUBLIC scc-sysc)
add_test(NAME quantum_keeper_mt COMMAND quantum_keeper_mt)
)
target_link_libraries (quantum_keeper_mt LINK_PUBLIC scc-sysc)
add_test(NAME quantum_keeper_mt COMMAND quantum_keeper_mt)
endif()