Collection of DPF-based plugins for packaging
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- # The GLM library is header-only, so we only need to find the glm/glm.hpp header.
- find_path(GLM_INCLUDE_DIR
- glm/glm.hpp
- )
-
- find_file(GLM_INCLUDE_FILE
- glm/glm.hpp
- )
-
- include(FindPackageHandleStandardArgs)
-
- find_package_handle_standard_args(GLM DEFAULT_MSG GLM_INCLUDE_FILE GLM_INCLUDE_DIR)
-
- if(GLM_FOUND AND NOT TARGET GLM::GLM)
- add_library(GLM::GLM INTERFACE IMPORTED)
-
- set_target_properties(GLM::GLM PROPERTIES
- INTERFACE_INCLUDE_DIRECTORIES "${GLM_INCLUDE_DIR}"
- )
- endif()
|