mirror of
https://github.com/gwm17/catima.git
synced 2024-11-26 20:18:51 -05:00
commit
7d458f0c98
|
@ -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