diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f46353b5b..3200311a7f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -86,6 +86,9 @@ set_property( CACHE KTX_FEATURE_LOADTEST_APPS if(NOT KTX_FEATURE_LOADTEST_APPS MATCHES OFF) set(VCPKG_MANIFEST_FEATURES loadtests) + if (KTX_FEATURE_LOADTEST_APPS MATCHES OpenGL) + list(APPEND VCPKG_MANIFEST_FEATURES glloadtests) + endif() if(CMAKE_SYSTEM_NAME STREQUAL "iOS") # Explicitly set the triplet to avoid potential trouble. # Automatic triplet selection in CI, which runs on x86_64, selects diff --git a/vcpkg.json b/vcpkg.json index 0d359252da..462a95815c 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -3,13 +3,9 @@ "name": "ktx-software", "features": { "loadtests": { - "description": "OpenGL & Vulkan Load Tests. All dependencies from vcpkg", + "description": "OpenGL & Vulkan Load Tests.", "dependencies": [ "assimp", - { - "name": "glew", - "platform": "windows" - }, { "name": "sdl2", "default-features": true, @@ -18,6 +14,15 @@ ] } ] + }, + "glloadtests": { + "description": "OpenGL Load Tests.", + "dependencies": [ + { + "name": "glew", + "platform": "windows" + } + ] } } }