Fixed CMake issues on linux, compile to test.
This commit is contained in:
parent
d7c75a2b04
commit
dc3650e118
6 changed files with 14 additions and 11 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,7 @@
|
||||||
.vs/
|
.vs/
|
||||||
bin/
|
bin/
|
||||||
bin-obj/
|
bin-obj/
|
||||||
|
build/
|
||||||
|
|
||||||
# VS Files
|
# VS Files
|
||||||
**.vcxproj**
|
**.vcxproj**
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
cmake_minimum_required(VERSION 3.21.2)
|
cmake_minimum_required(VERSION 3.14)
|
||||||
|
|
||||||
project(Light VERSION 1.0.0)
|
project(Light VERSION 1.0.0)
|
||||||
|
|
||||||
|
set(SPIRV_CROSS_ENABLE_TESTS OFF)
|
||||||
|
|
||||||
add_subdirectory(Dependencies/ShaderConductor) # <-- this project should not use "cxx_standard 17"
|
add_subdirectory(Dependencies/ShaderConductor) # <-- this project should not use "cxx_standard 17"
|
||||||
|
|
||||||
# directories
|
# directories
|
||||||
|
|
2
Dependencies/GLAD/CMakeLists.txt
vendored
2
Dependencies/GLAD/CMakeLists.txt
vendored
|
@ -1,4 +1,4 @@
|
||||||
cmake_minimum_required(VERSION 3.21.2)
|
cmake_minimum_required(VERSION 3.14)
|
||||||
|
|
||||||
if (CMAKE_COMPILER_IS_GNUCC)
|
if (CMAKE_COMPILER_IS_GNUCC)
|
||||||
add_compile_options(-w)
|
add_compile_options(-w)
|
||||||
|
|
2
Dependencies/stb_image/CMakeLists.txt
vendored
2
Dependencies/stb_image/CMakeLists.txt
vendored
|
@ -1,4 +1,4 @@
|
||||||
cmake_minimum_required(VERSION 3.21.2)
|
cmake_minimum_required(VERSION 3.14)
|
||||||
|
|
||||||
if (CMAKE_COMPILER_IS_GNUCC)
|
if (CMAKE_COMPILER_IS_GNUCC)
|
||||||
add_compile_options(-w)
|
add_compile_options(-w)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
cmake_minimum_required(VERSION 3.21.2)
|
cmake_minimum_required(VERSION 3.14)
|
||||||
|
|
||||||
if (CMAKE_COMPILER_IS_GNUCC)
|
if (CMAKE_COMPILER_IS_GNUCC)
|
||||||
add_compile_options(-w)
|
add_compile_options(-w)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
cmake_minimum_required(VERSION 3.21.2)
|
cmake_minimum_required(VERSION 3.14)
|
||||||
|
|
||||||
if (CMAKE_COMPILER_IS_GNUCC)
|
if (CMAKE_COMPILER_IS_GNUCC)
|
||||||
add_compile_options(-w)
|
add_compile_options(-w)
|
||||||
|
|
Loading…
Add table
Reference in a new issue