diff --git a/external/cmake-files/LPSolve.cmake b/external/cmake-files/LPSolve.cmake index 02f977862..b45c03151 100644 --- a/external/cmake-files/LPSolve.cmake +++ b/external/cmake-files/LPSolve.cmake @@ -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 )