adapt to fixed handling of SystemCPackage
This commit is contained in:
parent
2f05083cf0
commit
c409e7b7ca
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue