Skip to content

Commit

Permalink
Fix runtime of layer test.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansKristian-Work committed Jan 28, 2022
1 parent f1eb936 commit 1d959f6
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
Expand Up @@ -29,6 +29,9 @@ option(FOSSILIZE_TEST_RUNTIME_LAYER "Tests runtime layer" OFF)

if (FOSSILIZE_TEST_RUNTIME_LAYER)
add_executable(layer-test layer_test.cpp)
if (NOT WIN32)
target_link_libraries(layer-test PRIVATE -pthread)
endif()
target_link_libraries(layer-test PRIVATE vulkan)
add_test(NAME layer-test COMMAND layer-test)
set_property(TEST layer-test APPEND PROPERTY
Expand Down

0 comments on commit 1d959f6

Please sign in to comment.