issue#124. Turn off MacOS relative flag in building cmake.

release/4.3a0
lvzhaoyang 2014-10-22 23:27:01 -04:00
parent 10435794ed
commit fc21cb49cb
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@
project(GTSAM CXX C)
cmake_minimum_required(VERSION 2.6)
# new feature to Cmake Version > 2.8.12
# turn off the MACOS Relative Path flag.
set(CMAKE_MACOSX_RPATH 0)
# Set the version number for the library
set (GTSAM_VERSION_MAJOR 3)
set (GTSAM_VERSION_MINOR 1)