mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-10-06 09:05:30 +00:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user