Skip to content

Commit

Permalink
Fixing build on mac os x
Browse files Browse the repository at this point in the history
  • Loading branch information
dpayne committed Oct 8, 2018
1 parent d5ff09e commit 334359f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ endif()

# OS specific flags
if(APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D _OS_OSX")
set(CMAKE_LD_FLAGS "${CMAKE_LD_FLAGS} -D _OS_OSX")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -L/usr/local/lib/ -I/usr/local/include/ -D _OS_OSX")
set(CMAKE_LD_FLAGS "${CMAKE_LD_FLAGS} -L/usr/local/lib/ -D _OS_OSX")

# Enable runtime search path support for dynamic libraries on OSX
set(CMAKE_MACOSX_RPATH 1)
Expand Down

0 comments on commit 334359f

Please sign in to comment.