Commit f18f753c authored by Davis King's avatar Davis King

CMake tweaks to avoid errors in visual studio

parent 3b2d73db
cmake_minimum_required(VERSION 2.8.12)
if (POLICY CMP0054)
cmake_policy(SET CMP0054 NEW)
endif()
set(USING_OLD_VISUAL_STUDIO_COMPILER 0)
if(MSVC AND MSVC_VERSION VERSION_LESS 1900)
......
......@@ -80,7 +80,7 @@ else()
cxx_delegating_constructors
cxx_thread_local
cxx_constexpr
cxx_decltype_incomplete_return_types
# cxx_decltype_incomplete_return_types # purposfully commented out because cmake errors out on this when using visual studio and cmake 3.8.0
cxx_auto_type
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment