Skip to content

Commit

Permalink
Update CMake to set BIN_LIBROOT and BIN_RPATH to the new x86 and x64 …
Browse files Browse the repository at this point in the history
…folders
  • Loading branch information
dellis1972 committed Jul 25, 2018
1 parent 9029554 commit 43e94e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ if (APPLE)
SET(KICKLIBS iconv)
include_directories(${INCULDE_DIRECTORIES} /Library/Frameworks/Mono.framework/Headers/mono-2.0)
elseif (CMAKE_SIZEOF_VOID_P MATCHES "8" AND NOT(FORCE32))
SET(BIN_LIBROOT "lib64")
SET(BIN_LIBROOT "x64")
SET(CMAKE_EXECUTABLE_SUFFIX ".bin.x86_64")
SET(BIN_RPATH "\$ORIGIN/lib64")
SET(BIN_RPATH "\$ORIGIN/x64")
SET(KICKLIBS m rt dl)
include_directories(${INCULDE_DIRECTORIES} /usr/include/mono-2.0)
else()
SET(BIN_LIBROOT "lib")
SET(BIN_LIBROOT "x86")
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm")
SET(CMAKE_EXECUTABLE_SUFFIX ".bin.arm")
else()
SET(CMAKE_EXECUTABLE_SUFFIX ".bin.x86")
endif()
SET(BIN_RPATH "\$ORIGIN/lib")
SET(BIN_RPATH "\$ORIGIN/x86")
SET(KICKLIBS m rt dl)
include_directories(${INCULDE_DIRECTORIES} /usr/include/mono-2.0)
endif()
Expand Down

0 comments on commit 43e94e3

Please sign in to comment.