changes compile dependencies

This commit is contained in:
Eyck Jentzsch 2023-05-11 23:43:12 +02:00
parent afdf8fb97f
commit fd6b738168
1 changed files with 2 additions and 4 deletions

View File

@ -166,10 +166,8 @@ install(TARGETS tgc-sim
###############################################################################
#
###############################################################################
project(dbt-rise-tgc_sc VERSION 1.0.0)
include(SystemCPackage)
if(SystemC_FOUND)
if(TARGET scc-sysc)
project(dbt-rise-tgc_sc VERSION 1.0.0)
add_library(${PROJECT_NAME} src/sysc/core_complex.cpp)
target_compile_definitions(${PROJECT_NAME} PUBLIC WITH_SYSTEMC)
target_compile_definitions(${PROJECT_NAME} PRIVATE CORE_${CORE_NAME})