Skip to content

Commit

Permalink
Merge pull request #492 from dbermond/fix-unit-test-shared
Browse files Browse the repository at this point in the history
Fix unit test execution when building in shared linking mode
  • Loading branch information
adamjw24 authored Dec 16, 2024
2 parents 0c2c21e + 42763a9 commit 2dfd20c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/modules/vvencTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ add_test( NAME Test_vvenclibtest-sdk_default COMMAND vvenclibtest 4
add_test( NAME Test_vvenclibtest-sdk_stringapi_interface COMMAND vvenclibtest 5 )
add_test( NAME Test_vvenclibtest-timestamps COMMAND vvenclibtest 6 )

add_test( NAME Test_vvenc_unit_test COMMAND vvenc_unit_test )
if( NOT BUILD_SHARED_LIBS )
add_test( NAME Test_vvenc_unit_test COMMAND vvenc_unit_test )
endif()

set( CLEANUP_TEST_FILES "" )

Expand Down

0 comments on commit 2dfd20c

Please sign in to comment.