Add libdl to wpiutil cmake build (#1288)

This is required for dlopen, which is required by libuv.
This commit is contained in:
Peter Johnson
2018-08-20 00:56:16 -07:00
committed by GitHub
parent a5f7342fce
commit 0b8f4b5e6c

View File

@@ -91,7 +91,7 @@ else()
endif()
endif()
target_link_libraries(wpiutil Threads::Threads)
target_link_libraries(wpiutil Threads::Threads ${CMAKE_DL_LIBS})
target_include_directories(wpiutil PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/main/native/include>
$<INSTALL_INTERFACE:${include_dest}/wpiutil>)