lean2/src/util/CMakeLists.txt
Leonardo de Moura 777582380f feat(util/lean_path): add support for LEAN_PATH
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-22 17:56:53 -08:00

13 lines
489 B
CMake

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 lean_path.cpp ${THREAD_CPP})
target_link_libraries(util ${LEAN_LIBS})