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/libigl | |
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/libigl')
-rw-r--r-- | src/libigl/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libigl/CMakeLists.txt b/src/libigl/CMakeLists.txt index 3daac757b..f023826a5 100644 --- a/src/libigl/CMakeLists.txt +++ b/src/libigl/CMakeLists.txt @@ -1,5 +1,5 @@ -project(libigl) cmake_minimum_required(VERSION 3.0) +project(libigl) add_library(libigl INTERFACE) |