adapt to fixed handling of SystemCPackage

This commit is contained in:
Eyck Jentzsch 2021-08-19 13:38:29 +02:00
parent 2f05083cf0
commit c409e7b7ca
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ install(TARGETS tgc-sim
############################################################################### ###############################################################################
project(dbt-rise-tgc_sc VERSION 1.0.0) project(dbt-rise-tgc_sc VERSION 1.0.0)
include(FindSystemCPackage) include(SystemCPackage)
if(SystemC_FOUND) if(SystemC_FOUND)
add_library(${PROJECT_NAME} src/sysc/core_complex.cpp) add_library(${PROJECT_NAME} src/sysc/core_complex.cpp)
target_compile_definitions(${PROJECT_NAME} PUBLIC WITH_SYSTEMC) target_compile_definitions(${PROJECT_NAME} PUBLIC WITH_SYSTEMC)