mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-18 05:00:55 +00:00
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
This commit is contained in:
1 parent
7e0e552fd2
commit
883f46662d
10 files changed
+10
-10
No files matched your search
@@ -1,5 +1,5 @@
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
project(semver)
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
|
||||
add_library(semver STATIC
|
||||
semver.c
|
||||
|
||||
Reference in new issue
Block a user