mirror of https://github.com/AxioDL/logvisor.git
Make logvisor publicly link libdl on platforms that have it
This commit is contained in:
parent
c54e2596c2
commit
7672485d81
|
@ -5,6 +5,8 @@ add_library(logvisor
|
|||
lib/logvisor.cpp
|
||||
include/logvisor/logvisor.hpp)
|
||||
|
||||
target_link_libraries(logvisor PUBLIC ${CMAKE_DL_LIBS})
|
||||
|
||||
set(LOGVISOR_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE PATH "logvisor include path" FORCE)
|
||||
|
||||
install(DIRECTORY include/logvisor DESTINATION include)
|
||||
|
|
Loading…
Reference in New Issue