Allow parent project to override options
Signed-off-by: Jade Turner <spacey-sooty@proton.me>release/4.3a0
parent
4abef9248e
commit
91d1dd3a9c
|
@ -1,5 +1,11 @@
|
|||
cmake_minimum_required(VERSION 3.0)
|
||||
|
||||
# allow parent project to override options
|
||||
if (POLICY CMP0077)
|
||||
cmake_policy(SET CMP0077 NEW)
|
||||
endif(POLICY CMP0077)
|
||||
|
||||
|
||||
# Set the version number for the library
|
||||
set (GTSAM_VERSION_MAJOR 4)
|
||||
set (GTSAM_VERSION_MINOR 3)
|
||||
|
|
Loading…
Reference in New Issue