Skip to content

Commit

Permalink
improve lpsolve cmake for cran check
Browse files Browse the repository at this point in the history
  • Loading branch information
Apostolos Chalkis committed Oct 16, 2023
1 parent 40cf11e commit 5e9fad6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions external/cmake-files/LPSolve.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ function(GetLPSolve)
endif()

execute_process(COMMAND rm lp_rlp.h
WORKING_DIRECTORY ${CMAKE_ROOT_DIR}/../_deps/lpsolve-src
WORKING_DIRECTORY ${LP_SOLVE_CMAKE_DIR}/../_deps/lpsolve-src
OUTPUT_QUIET
)
execute_process(COMMAND cp ${CMAKE_ROOT_DIR}/lp_rlp.h ${CMAKE_ROOT_DIR}/../_deps/lpsolve-src
#WORKING_DIRECTORY ${CMAKE_ROOT_DIR}
execute_process(COMMAND cp lp_rlp.h ${LP_SOLVE_CMAKE_DIR}/../_deps/lpsolve-src
WORKING_DIRECTORY ${LP_SOLVE_CMAKE_DIR}
OUTPUT_QUIET
)

Expand Down

0 comments on commit 5e9fad6

Please sign in to comment.