Merge pull request #391 from cubeleo/master

CMake: Fixed VS build by setting the C++ standard to 17 for "if constexpr".
This commit is contained in:
Rich Geldreich
2025-06-24 16:08:14 -04:00
committed by GitHub

View File

@@ -2,7 +2,8 @@
# It should also work without this option, but we do not test with it.
cmake_minimum_required(VERSION 3.5)
project(basisu)
project(basisu C CXX)
set(CMAKE_CXX_STANDARD 17)
option(STATIC "static linking" FALSE)
option(SAN "sanitize" FALSE)