mirror of
https://github.com/gwm17/catima.git
synced 2024-11-26 12:08:52 -05:00
cmake update for mac os
This commit is contained in:
parent
9452a6eec1
commit
aa916798d5
|
@ -25,6 +25,12 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR
|
|||
set(warnings "-Wall -Wextra -Werror")
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
set(RPATH_VARIABLE "DYLD_LIBRARY_PATH")
|
||||
else()
|
||||
set(RPATH_VARIABLE "LD_LIBRARY_PATH")
|
||||
endif()
|
||||
|
||||
############# Requirements ##################
|
||||
find_package(GSL REQUIRED)
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
export CATIMAPATH=${PROJECT_BINARY_DIR}
|
||||
#export PATH=$PATH:$CATIMAPATH/bin
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CATIMAPATH
|
||||
export ${RPATH_VARIABLE}=$LD_LIBRARY_PATH:$CATIMAPATH
|
||||
|
|
Loading…
Reference in New Issue
Block a user