Skip to content

Commit

Permalink
Fixes the rpath setting to have the correct variable name
Browse files Browse the repository at this point in the history
Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
  • Loading branch information
kdt3rd committed Jun 27, 2019
1 parent d61c096 commit 5093aaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/OpenEXRSettings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ if(OPENEXR_NAMESPACE_VERSIONING)
endif()

# MacOs/linux rpathing
set(CMAKE_MACOSX_RPATH 1)
set(BUILD_WITH_INSTALL_RPATH 1)
set(CMAKE_MACOSX_RPATH ON)
set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)

# Set position independent code (mostly for static builds, but not a bad idea regardless)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

0 comments on commit 5093aaa

Please sign in to comment.