Skip to content

Commit

Permalink
Trying to fix assets.yml jobs: linking cqasm_test to Threads::Threads.
Browse files Browse the repository at this point in the history
  • Loading branch information
rturrado committed Dec 16, 2023
1 parent c61f754 commit ceb2027
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
find_package(GTest REQUIRED)

# Test executable
Expand Down Expand Up @@ -29,6 +31,7 @@ target_link_libraries(${PROJECT_NAME}_test PRIVATE
cqasm
GTest::gmock
GTest::gtest
Threads::Threads
)

if(CMAKE_COMPILER_IS_GNUCXX)
Expand Down

0 comments on commit ceb2027

Please sign in to comment.