propagate DVULKAN_HEADERS_DISABLE_MODULE_STD value to CTests
This commit is contained in:
parent
f4c405e02a
commit
dcfd96691c
1 changed files with 9 additions and 2 deletions
|
|
@ -12,7 +12,10 @@ add_test(NAME integration.add_subdirectory
|
|||
--build-and-test ${CMAKE_CURRENT_LIST_DIR}/integration
|
||||
${CMAKE_CURRENT_BINARY_DIR}/add_subdirectory
|
||||
--build-generator ${CMAKE_GENERATOR}
|
||||
--build-options -DFIND_PACKAGE_TESTING=OFF -DVULKAN_HEADERS_ENABLE_MODULE=${VULKAN_HEADERS_ENABLE_MODULE}
|
||||
--build-options
|
||||
-DFIND_PACKAGE_TESTING=OFF
|
||||
-DVULKAN_HEADERS_ENABLE_MODULE=${VULKAN_HEADERS_ENABLE_MODULE}
|
||||
-DVULKAN_HEADERS_DISABLE_MODULE_STD=${DVULKAN_HEADERS_DISABLE_MODULE_STD}
|
||||
)
|
||||
|
||||
set(test_install_dir "${CMAKE_CURRENT_BINARY_DIR}/install")
|
||||
|
|
@ -26,7 +29,11 @@ add_test(NAME integration.find_package
|
|||
--build-and-test ${CMAKE_CURRENT_LIST_DIR}/integration
|
||||
${CMAKE_CURRENT_BINARY_DIR}/find_package
|
||||
--build-generator ${CMAKE_GENERATOR}
|
||||
--build-options -DFIND_PACKAGE_TESTING=ON -DCMAKE_PREFIX_PATH=${test_install_dir} -DVULKAN_HEADERS_ENABLE_MODULE=${VULKAN_HEADERS_ENABLE_MODULE}
|
||||
--build-options
|
||||
-DFIND_PACKAGE_TESTING=ON
|
||||
-DCMAKE_PREFIX_PATH=${test_install_dir}
|
||||
-DVULKAN_HEADERS_ENABLE_MODULE=${VULKAN_HEADERS_ENABLE_MODULE}
|
||||
-DVULKAN_HEADERS_DISABLE_MODULE_STD=${DVULKAN_HEADERS_DISABLE_MODULE_STD}
|
||||
)
|
||||
|
||||
# Installing comes before testing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue