Sfoglia il codice sorgente

Merge pull request #2275 from jbeich/pthread

Unbreak QT-only build after 75ee2f8c6702
Sebastian Valle 9 anni fa
parent
commit
0f28ed9ce8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/tests/CMakeLists.txt

+ 1 - 1
src/tests/CMakeLists.txt

@@ -13,6 +13,6 @@ include_directories(../../externals/catch/single_include/)
 
 
 add_executable(tests ${SRCS} ${HEADERS})
 add_executable(tests ${SRCS} ${HEADERS})
 target_link_libraries(tests core video_core audio_core common)
 target_link_libraries(tests core video_core audio_core common)
-target_link_libraries(tests ${PLATFORM_LIBRARIES})
+target_link_libraries(tests ${PLATFORM_LIBRARIES} Threads::Threads)
 
 
 add_test(NAME tests COMMAND $<TARGET_FILE:tests>)
 add_test(NAME tests COMMAND $<TARGET_FILE:tests>)