summaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-03-08 20:51:11 +0000
committerJose Fonseca <jfonseca@vmware.com>2015-03-08 20:51:11 +0000
commit02c5d50772dc4ccc8927ac69be9dd9b55011c271 (patch)
treeee9a691419f5135f9f927cc15bb9e1265d1c0b3e /thirdparty
parent052098268248193f8cb6f6eb9aaf7fab04620efc (diff)
cmake: Enable and require C++11 support for GNU/CLang.
We already require MSVC 2013 which supports C++11 without needing any additional options.
Diffstat (limited to 'thirdparty')
-rw-r--r--thirdparty/directxtex/CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/thirdparty/directxtex/CMakeLists.txt b/thirdparty/directxtex/CMakeLists.txt
index d3b7fdbf..052bc89f 100644
--- a/thirdparty/directxtex/CMakeLists.txt
+++ b/thirdparty/directxtex/CMakeLists.txt
@@ -28,12 +28,6 @@ if (DirectX_D3D11_INCLUDE_FOUND)
${CMAKE_SOURCE_DIR}/dispatch # for compat.h
)
add_definitions (
- # Support static_assert, nullptr, and unique_ptr.
- #
- # `-std=c++0x` doesn't work here, as it will define __STRICT_ANSI__
- # which will prevent _isnan from being declared.
- -std=gnu++0x
-
#inhibit warnings
-w