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