tests: Test Non-API headers

Ensures the non-API headers compile correctly
This commit is contained in:
Juan Ramos 2022-12-20 15:11:39 -07:00 committed by Juan Ramos
parent 1401f7a3b3
commit 43946b0feb
7 changed files with 84 additions and 2 deletions

View file

@ -60,6 +60,11 @@ add_library(Vulkan::Registry ALIAS Vulkan-Registry)
string(COMPARE EQUAL ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR} PROJECT_IS_TOP_LEVEL)
if (PROJECT_IS_TOP_LEVEL)
option(BUILD_TESTS "Build the tests" OFF)
if (BUILD_TESTS)
add_subdirectory(tests)
endif()
include(GNUInstallDirs)
include(CMakePackageConfigHelpers)