From dbd0a7ed6014f128b92e85ff8a02763efd11eb2a Mon Sep 17 00:00:00 2001 From: mingchuan Date: Fri, 11 May 2018 11:20:19 +0800 Subject: Fix link error when using boost shared library --- lllc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lllc') diff --git a/lllc/CMakeLists.txt b/lllc/CMakeLists.txt index 5c480093..d6538ee2 100644 --- a/lllc/CMakeLists.txt +++ b/lllc/CMakeLists.txt @@ -1,5 +1,5 @@ add_executable(lllc main.cpp) -target_link_libraries(lllc PRIVATE lll) +target_link_libraries(lllc PRIVATE lll ${Boost_SYSTEM_LIBRARY}) if (INSTALL_LLLC) include(GNUInstallDirs) -- cgit v1.2.3