changes compile dependencies
This commit is contained in:
parent
afdf8fb97f
commit
fd6b738168
|
@ -166,10 +166,8 @@ install(TARGETS tgc-sim
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
project(dbt-rise-tgc_sc VERSION 1.0.0)
|
if(TARGET scc-sysc)
|
||||||
|
project(dbt-rise-tgc_sc VERSION 1.0.0)
|
||||||
include(SystemCPackage)
|
|
||||||
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)
|
||||||
target_compile_definitions(${PROJECT_NAME} PRIVATE CORE_${CORE_NAME})
|
target_compile_definitions(${PROJECT_NAME} PRIVATE CORE_${CORE_NAME})
|
||||||
|
|
Loading…
Reference in New Issue