Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
Use FindThread
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartmscott committed Jan 15, 2023
1 parent 52cfd3d commit 4313adb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions samples/time/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,8 @@ include_directories(${INCLUDE_DIR})

add_executable(${TARGET_NAME} ${SOURCE})

find_package(Threads)

target_link_libraries(${TARGET_NAME} ${CMAKE_THREAD_LIBS_INIT})

target_link_libraries(${TARGET_NAME} ${LIBRARY_NAME})

0 comments on commit 4313adb

Please # to comment.