This repository was archived by the owner on May 18, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -452,7 +452,9 @@ nox: 3rdParty/trilinos-nox/CMakeLists.txt
452452 $(MAKE) -C 3rdParty/trilinos-nox/build install
453453 rm -r 3rdParty/trilinos-nox/build/lib/cmake
454454 mkdir -p "$(builddir_lib_omc)/cpp"
455- cp -pf 3rdParty/trilinos-nox/build/lib/* "$(builddir_lib_omc)/cpp"
455+ (test `uname` = Darwin || test `uname` = Linux) \
456+ && cp -pf 3rdParty/trilinos-nox/build/lib/* "$(builddir_lib_omc)/cpp" \
457+ || cp -pf 3rdParty/trilinos-nox/build/bin/* "$(builddir_lib_omc)/cpp"
456458
457459clean-nox:
458460 test -d 3rdParty/trilinos-nox/build && cd 3rdParty/trilinos-nox/build && make clean
Original file line number Diff line number Diff line change @@ -654,7 +654,11 @@ IF(USE_TRILINOS)
654654 SET (Trilinos_Path "${CMAKE_SOURCE_DIR} /../../3rdParty/trilinos-nox/build" )
655655 ENDIF (MSVC )
656656 SET (TRILINOS_INLCUDE_HOME ${Trilinos_Path} /include )
657- SET (TRILINOS_LIBRARY_RELEASE_HOME ${Trilinos_Path} /bin)
657+ IF (WIN32 )
658+ SET (TRILINOS_LIBRARY_RELEASE_HOME ${Trilinos_Path} /bin)
659+ ELSE (WIN32 )
660+ SET (TRILINOS_LIBRARY_RELEASE_HOME ${Trilinos_Path} /lib)
661+ ENDIF (WIN32 )
658662 MESSAGE (STATUS "Trilinos include:" )
659663 MESSAGE (STATUS "${TRILINOS_INLCUDE_HOME} " )
660664 MESSAGE (STATUS "Trilinos library:" )
You can’t perform that action at this time.
0 commit comments