Add units library
This commit is contained in:
15
3rdParty/units/CMakeLists.txt
vendored
Normal file
15
3rdParty/units/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
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 v2.3.3
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
FetchContent_MakeAvailable(units)
|
||||
|
||||
Reference in New Issue
Block a user