issue #124. Turn off Mac RPATH on non Mac machines work.
parent
fc21cb49cb
commit
c3ac45b05b
|
@ -3,8 +3,10 @@ project(GTSAM CXX C)
|
||||||
cmake_minimum_required(VERSION 2.6)
|
cmake_minimum_required(VERSION 2.6)
|
||||||
|
|
||||||
# new feature to Cmake Version > 2.8.12
|
# new feature to Cmake Version > 2.8.12
|
||||||
# turn off the MACOS Relative Path flag.
|
# Mac ONLY. Define Relative Path on Mac OS
|
||||||
set(CMAKE_MACOSX_RPATH 0)
|
if(NOT DEFINED CMAKE_MACOSX_RPATH)
|
||||||
|
set(CMAKE_MACOSX_RPATH 0)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Set the version number for the library
|
# Set the version number for the library
|
||||||
set (GTSAM_VERSION_MAJOR 3)
|
set (GTSAM_VERSION_MAJOR 3)
|
||||||
|
|
Loading…
Reference in New Issue