adds update dbt-rise modules

This commit is contained in:
2023-07-14 12:55:00 +02:00
parent 11bbf7ebee
commit 448866f0f6
6 changed files with 13 additions and 11 deletions

View File

@ -4,9 +4,10 @@
# SPDX-License-Identifier: Apache-2.0
#
cmake_minimum_required(VERSION 3.12)
project(tgc-vp LANGUAGES C CXX VERSION 0.0.1)
include(flink)
find_package(Boost COMPONENTS program_options thread REQUIRED)
###############################################################################
# SiFive
@ -18,7 +19,8 @@ add_executable(${PROJECT_NAME}
tgc_vp/system.cpp
)
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_LIST_DIR})
target_link_libraries(${PROJECT_NAME} PUBLIC dbt-rise-tgc_sc vpvper_generic vpvper_sifive ${BOOST_program_options_LIBRARY})
target_force_link_libraries(${PROJECT_NAME} PUBLIC dbt-rise-tgc_sc)
target_link_libraries(${PROJECT_NAME} PUBLIC vpvper_generic vpvper_sifive ${BOOST_program_options_LIBRARY})
if(TARGET Boost::program_options)
target_link_libraries(${PROJECT_NAME} PUBLIC Boost::program_options Boost::thread)
else()