CPMAddPackage( NAME OpenXLSX GIT_REPOSITORY https://github.com/troldal/OpenXLSX.git GIT_TAG b80da42d1454f361c29117095ebe1989437db390 #EXCLUDE_FROM_ALL ON ) set(OPENXLSX_LIBRARY_TYPE "STATIC")