Files
OpenVulkano/3rdParty/units/CMakeLists.txt
2025-03-26 15:08:11 +01:00

16 lines
302 B
CMake

include(FetchContent)
if(NOT DEFINED UNITS_REPO)
set(UNITS_REPO https://github.com/nholthaus/units.git)
endif ()
FetchContent_Declare(
units
EXCLUDE_FROM_ALL
GIT_REPOSITORY ${UNITS_REPO}
GIT_TAG master
GIT_SHALLOW TRUE
)
FetchContent_MakeAvailable(units)