Files
SystemC-Components-Test/tests/quantum_keeper_mt/CMakeLists.txt
Eyck Jentzsch a07057e869
Some checks failed
SCC Test/pipeline/head There was a failure building this commit
excludes quantum_keeper if SystemC is not 3.0 or higher
2025-11-09 14:22:59 +01:00

8 lines
324 B
CMake

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)
endif()