cleanup and refactoring

This commit is contained in:
CDaut 2024-05-25 11:53:25 +02:00
parent 2302158928
commit 76f6bf62a4
Signed by: clara
GPG key ID: 223391B52FAD4463
1285 changed files with 757994 additions and 8 deletions

View file

@ -0,0 +1,19 @@
include(FindPackageHandleStandardArgs)
find_path( GLM_INCLUDE_DIR glm/glm.hpp HINTS ${GLM_LOCATION}
$ENV{GLM_LOCATION}
${BASE_DIRECTORY}/nvpro_core/third_party/glm
$ENV{VK_SDK_PATH}/include
${VULKAN_HEADERS_OVERRIDE_INCLUDE_DIR}
${Vulkan_INCLUDE_DIR} )
# Handle REQUIRD argument, define *_FOUND variable
find_package_handle_standard_args(GLM DEFAULT_MSG GLM_INCLUDE_DIR)
# Define GLM_INCLUDE_DIRS
if (GLM_FOUND)
set(GLM_INCLUDE_DIRS ${GLM_INCLUDE_DIR})
endif()
# Hide some variables
mark_as_advanced(GLM_INCLUDE_DIR)