Skip to content

Commit

Permalink
Merge pull request #801 from alicevision/dev/cmake_for_jenkins
Browse files Browse the repository at this point in the history
Make sure suitesparse build with jenkins pipeline
  • Loading branch information
fabiencastan authored Jun 16, 2020
2 parents e2e196b + 345998d commit 53d3f5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ ExternalProject_Add(${SUITESPARSE_TARGET}
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/suitesparse
INSTALL_DIR ${CMAKE_INSTALL_PREFIX}
CONFIGURE_COMMAND ""
BUILD_COMMAND cd <BINARY_DIR> && ${SUITESPARSE_INTERNAL_MAKE_CMD}
INSTALL_COMMAND cd <BINARY_DIR> && ${SUITESPARSE_INTERNAL_MAKE_CMD} install INSTALL=<INSTALL_DIR>
BUILD_COMMAND cd <BINARY_DIR> && ${SUITESPARSE_INTERNAL_MAKE_CMD} library CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER}
INSTALL_COMMAND cd <BINARY_DIR> && ${SUITESPARSE_INTERNAL_MAKE_CMD} install library INSTALL=<INSTALL_DIR> CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER}
DEPENDS ${LAPACK_TARGET}
)
set(SUITESPARSE_CMAKE_FLAGS ${LAPACK_CMAKE_FLAGS} -DSUITESPARSE_INCLUDE_DIR_HINTS=${CMAKE_INSTALL_PREFIX}/include -DSUITESPARSE_LIBRARY_DIR_HINTS=${CMAKE_INSTALL_PREFIX}/lib)
Expand Down

0 comments on commit 53d3f5a

Please sign in to comment.