move boost libraries from tgfs_sc to tgfs library

This commit is contained in:
Eyck Jentzsch 2021-02-15 18:03:26 +00:00
parent 337f1634c0
commit 3d5b61f301
1 changed files with 1 additions and 1 deletions

View File

@ -57,6 +57,7 @@ target_compile_options(tgfs PRIVATE -Wno-shift-count-overflow)
target_include_directories(tgfs PUBLIC incl)
target_link_libraries(tgfs PUBLIC softfloat scc-util)
target_link_libraries(tgfs PUBLIC -Wl,--whole-archive dbt-core -Wl,--no-whole-archive)
target_link_libraries(tgfs PUBLIC ${Boost_LIBRARIES} )
set_target_properties(tgfs PROPERTIES
VERSION ${PROJECT_VERSION}
FRAMEWORK FALSE
@ -76,7 +77,6 @@ if(SystemC_FOUND)
if(WITH_LLVM)
target_link_libraries(tgfs_sc PUBLIC ${llvm_libs})
endif()
target_link_libraries(tgfs_sc PUBLIC ${Boost_LIBRARIES} )
set_target_properties(tgfs_sc PROPERTIES
VERSION ${PROJECT_VERSION}
FRAMEWORK FALSE