Skip to content

Commit 1cb3e2e

Browse files
committed
Merge branch 'osx_fix'
2 parents f985b54 + c2ad6db commit 1cb3e2e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.3)
1+
cmake_minimum_required(VERSION 2.8.12)
22

33
project( boost.numpy )
44

@@ -43,6 +43,8 @@ find_package(NumPy REQUIRED)
4343
# set(Boost_USE_STATIC_LIBS ON)
4444
# set(Boost_USE_MULTITHREADED ON)
4545
# set(Boost_USE_STATIC_RUNTIME ON)
46+
set(CMAKE_MACOSX_RPATH 1)
47+
4648
if(${PYTHON_VERSION_STRING} GREATER 3.0)
4749
message(STATUS "Using Python3")
4850
find_package(Boost COMPONENTS python3 REQUIRED)

0 commit comments

Comments
 (0)