# Copyright 2017-2021 The Khronos Group Inc. # SPDX-License-Identifier: Apache-2.0 add_executable( streamtests streamtests.cc ) target_include_directories( streamtests PRIVATE $ ${CMAKE_CURRENT_SOURCE_DIR}/../../other_include ${CMAKE_CURRENT_SOURCE_DIR}/../../lib # Just for gl_format.h ) set_target_properties( streamtests PROPERTIES # Force C++14 (for std::make_unique on AppleClang and Linux GCC) CXX_STANDARD 14 CXX_STANDARD_REQUIRED YES ) target_link_libraries( streamtests gtest ktx ${CMAKE_THREAD_LIBS_INIT} ) target_compile_definitions( streamtests PRIVATE $ ) gtest_discover_tests( streamtests TEST_PREFIX streamtest EXTRA_ARGS "${PROJECT_SOURCE_DIR}/tests/testimages/" )