diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2021-08-20 14:42:10 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2021-08-20 14:42:10 +0300 |
commit | 883f46662d02fb50bc11dffdc4be1cc8e34fa8e1 (patch) | |
tree | 62c3f5e47e6ad5abc7cbf065fad016864ed8051f /src/imgui | |
parent | 7e0e552fd22da60b0b594724e9d6853ec3856c86 (diff) |
Fix warnings when newer CMake is used.
project() call should always come AFTER cmake_minimum_required(). This caused various hard-to-debug issues when searching for packages.
Newer CMake versions complain that compatibility is broken with v2.6
Diffstat (limited to 'src/imgui')
-rw-r--r-- | src/imgui/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imgui/CMakeLists.txt b/src/imgui/CMakeLists.txt index 50575308d..235afe110 100644 --- a/src/imgui/CMakeLists.txt +++ b/src/imgui/CMakeLists.txt @@ -1,5 +1,5 @@ +cmake_minimum_required(VERSION 2.8.12) project(imgui) -cmake_minimum_required(VERSION 2.6) add_library(imgui STATIC imconfig.h |