fix(util/thread): warning 'thread.cpp.o has no symbols'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
fa8b984e27
commit
3416df85f8
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,13 @@
|
|||
if (("${BOOST}" MATCHES "ON") AND ("${MULTI_THREAD}" MATCHES "ON"))
|
||||
set(THREAD_CPP "thread.cpp")
|
||||
else()
|
||||
set(THREAD_CPP "")
|
||||
endif()
|
||||
|
||||
add_library(util trace.cpp debug.cpp name.cpp name_set.cpp
|
||||
exception.cpp interrupt.cpp hash.cpp escaped.cpp bit_tricks.cpp
|
||||
safe_arith.cpp ascii.cpp memory.cpp shared_mutex.cpp realpath.cpp
|
||||
script_state.cpp script_exception.cpp splay_map.cpp lua.cpp
|
||||
luaref.cpp stackinfo.cpp thread.cpp)
|
||||
luaref.cpp stackinfo.cpp ${THREAD_CPP})
|
||||
|
||||
target_link_libraries(util ${LEAN_LIBS})
|
||||
|
|
Loading…
Reference in a new issue