tests: Test Non-API headers
Ensures the non-API headers compile correctly
This commit is contained in:
parent
1401f7a3b3
commit
43946b0feb
7 changed files with 84 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue