fixes installation for PA

This commit is contained in:
Eyck Jentzsch 2024-03-15 16:48:03 +01:00
parent 862b852f96
commit 4c107e03a0
1 changed files with 3 additions and 1 deletions

View File

@ -217,10 +217,12 @@ if(CMAKE_PROJECT_NAME STREQUAL "TGC-ISS")
endif() endif()
add_subdirectory(dbt-rise-core) add_subdirectory(dbt-rise-core)
if(CMAKE_PROJECT_NAME STREQUAL "TGC-ISS") if(CMAKE_PROJECT_NAME STREQUAL "TGC-ISS" AND NOT USE_CWR_SYSTEMC)
set(SCC_CMAKE_CONFIG_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/scc) set(SCC_CMAKE_CONFIG_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/scc)
add_subdirectory(scc/src/common) add_subdirectory(scc/src/common)
message("blah")
else() else()
message("blub")
add_subdirectory(scc) add_subdirectory(scc)
endif() endif()
add_subdirectory(dbt-rise-tgc) add_subdirectory(dbt-rise-tgc)