CMake fix

This commit is contained in:
2021-08-28 15:22:34 +02:00
parent 8a1bc534e5
commit 6179fdee75
3 changed files with 126 additions and 0 deletions

View File

@@ -14,3 +14,6 @@ find_package(Boost COMPONENTS ${BOOST_LIBS} REQUIRED)
target_link_libraries(usbserial-dw ${Boost_LIBRARIES})
find_package(Threads REQUIRED)
target_link_libraries(usbserial-dw ${CMAKE_THREAD_LIBS_INIT})
## Install
install(TARGETS usbserial-dw DESTINATION ${CMAKE_INSTALL_BINDIR})