Fix C++ build with the interpreter disabled

This commit is contained in:
Simon Hausmann 2021-09-03 14:00:19 +02:00 committed by Simon Hausmann
parent 5a81976f3b
commit cca2a18edb
2 changed files with 10 additions and 4 deletions

View file

@ -232,7 +232,9 @@ if(BUILD_TESTING)
endmacro(sixtyfps_test)
sixtyfps_test(datastructures)
sixtyfps_test(interpreter)
if(SIXTYFPS_FEATURE_INTERPRETER)
sixtyfps_test(interpreter)
endif()
sixtyfps_test(eventloop)
target_link_libraries(test_eventloop PRIVATE Threads::Threads)
endif()