Skip to content

Commit

Permalink
conan gcc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
petiaccja committed Feb 8, 2021
1 parent 5861e78 commit 3d9a2e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test_package/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@ set(CMAKE_CXX_STANDARD 17)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()

set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
link_libraries(Threads::Threads)

add_executable(quick_test quick_test.cpp)
target_link_libraries(quick_test ${CONAN_LIBS})

0 comments on commit 3d9a2e6

Please sign in to comment.