Skip to content

Commit

Permalink
Include Ldflag to apple cmake list, list all in hdf5 dir
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarupilla committed Apr 6, 2021
1 parent 1f57eaf commit 02db57f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ before_install:
# export LDFLAGS="-L/usr/local/Cellar/[email protected]/1.8.21_1/include"
# export CPPFLAGS="-I/usr/local/Cellar/[email protected]/1.8.21_1/include"
ls /usr/local/opt/[email protected]/include | grep -i "hdf"
echo "##########################"
echo "##########################"
echo "##########################"
ls -la /usr/local/Cellar/hdf5/1.10.5_1/lib
# brew install szip
rm '/usr/local/include/c++'
#brew install --verbose --debug --force [email protected] --c++11
Expand Down
2 changes: 2 additions & 0 deletions Stochastic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ endif()
#include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../ExpressionParser)
#include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../vcommons/include)
#include_directories(${VCELL_MESSAGING_INCLUDE_DIR})
if (APPLE)
include_directories("/usr/local/Cellar/hdf5/1.10.5_1/lib")
add_executable(${EXE_FILE} ${SRC_FILES})
#target_link_libraries(${EXE_FILE} ExpressionParser vcommons vcellmessaging ${CMAKE_SOURCE_DIR}/mylibs/libhdf5_serial.so.10)
target_link_libraries(${EXE_FILE} ExpressionParser vcommons vcellmessaging hdf5)
Expand Down

0 comments on commit 02db57f

Please sign in to comment.