Skip to content

Commit d0de065

Browse files
committed
Adding some Apple config to the build file.
1 parent ea52a15 commit d0de065

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ else()
4747
message(FATAL_ERROR "Could not determine target architecture. Please set CMAKE_SYSTEM_PROCESSOR to the desired resource folder.")
4848
endif()
4949

50+
if(APPLE)
51+
set(CMAKE_MACOSX_RPATH 1)
52+
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.5")
53+
endif()
54+
5055

5156
find_package(JNI)
5257
if(NOT JNI_FOUND)

0 commit comments

Comments
 (0)