diff --git a/OGLCompilersDLL/CMakeLists.txt b/OGLCompilersDLL/CMakeLists.txt index 60fb93b6..14afbd90 100644 --- a/OGLCompilersDLL/CMakeLists.txt +++ b/OGLCompilersDLL/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8) - set(SOURCES InitializeDll.cpp InitializeDll.h) add_library(OGLCompiler STATIC ${SOURCES}) diff --git a/SPIRV/CMakeLists.txt b/SPIRV/CMakeLists.txt index 50cda686..88d89da0 100755 --- a/SPIRV/CMakeLists.txt +++ b/SPIRV/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8) - set(SOURCES GlslangToSpv.cpp InReadableOrder.cpp diff --git a/StandAlone/CMakeLists.txt b/StandAlone/CMakeLists.txt index e9d72110..e02a465f 100644 --- a/StandAlone/CMakeLists.txt +++ b/StandAlone/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8) - add_library(glslang-default-resource-limits ${CMAKE_CURRENT_SOURCE_DIR}/DefaultResourceLimits.cpp ) diff --git a/glslang/CMakeLists.txt b/glslang/CMakeLists.txt index b6c70c46..52c781a8 100644 --- a/glslang/CMakeLists.txt +++ b/glslang/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8) - if(WIN32) add_subdirectory(OSDependent/Windows) elseif(UNIX) diff --git a/glslang/OSDependent/Unix/CMakeLists.txt b/glslang/OSDependent/Unix/CMakeLists.txt index 319c70cc..f4d1b425 100644 --- a/glslang/OSDependent/Unix/CMakeLists.txt +++ b/glslang/OSDependent/Unix/CMakeLists.txt @@ -1,7 +1,3 @@ - - -cmake_minimum_required(VERSION 2.8) - add_library(OSDependent STATIC ossource.cpp ../osinclude.h) install(TARGETS OSDependent diff --git a/glslang/OSDependent/Windows/CMakeLists.txt b/glslang/OSDependent/Windows/CMakeLists.txt index 9bc73a37..2df014cc 100644 --- a/glslang/OSDependent/Windows/CMakeLists.txt +++ b/glslang/OSDependent/Windows/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8) - set(SOURCES ossource.cpp ../osinclude.h) add_library(OSDependent STATIC ${SOURCES}) diff --git a/hlsl/CMakeLists.txt b/hlsl/CMakeLists.txt index 6dd84fa3..e4a0bd32 100755 --- a/hlsl/CMakeLists.txt +++ b/hlsl/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8) - set(SOURCES hlslParseHelper.cpp hlslScanContext.cpp