From 3d5b61f301405374ee3daae8e4baa72b85072118 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Mon, 15 Feb 2021 18:03:26 +0000 Subject: [PATCH] move boost libraries from tgfs_sc to tgfs library --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c4be168..787a7da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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