Shut up that CMake OpenGL warning
What's so hard about CMake *just working*? Why do I have to jump through all these stupid hoops?
This commit is contained in:
parent
c2daebe38a
commit
15ad469f67
2 changed files with 8 additions and 0 deletions
|
@ -4,6 +4,10 @@ if((${CMAKE_VERSION} VERSION_EQUAL 3.9) OR (${CMAKE_VERSION} VERSION_GREATER 3.9
|
|||
cmake_policy(SET CMP0069 NEW)
|
||||
endif()
|
||||
|
||||
if((${CMAKE_VERSION} VERSION_EQUAL 3.11) OR (${CMAKE_VERSION} VERSION_GREATER 3.11))
|
||||
cmake_policy(SET CMP0072 NEW)
|
||||
endif()
|
||||
|
||||
set(BUILD_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/game")
|
||||
set(ASSETS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/assets")
|
||||
|
||||
|
|
|
@ -4,6 +4,10 @@ if((${CMAKE_VERSION} VERSION_EQUAL 3.9) OR (${CMAKE_VERSION} VERSION_GREATER 3.9
|
|||
cmake_policy(SET CMP0069 NEW)
|
||||
endif()
|
||||
|
||||
if((${CMAKE_VERSION} VERSION_EQUAL 3.11) OR (${CMAKE_VERSION} VERSION_GREATER 3.11))
|
||||
cmake_policy(SET CMP0072 NEW)
|
||||
endif()
|
||||
|
||||
option(FORCE_LOCAL_LIBS "Compile the built-in version of FLTK instead of using the system-provided one" OFF)
|
||||
|
||||
project(DoConfig LANGUAGES CXX)
|
||||
|
|
Loading…
Add table
Reference in a new issue