Antares_Simulator icon indicating copy to clipboard operation
Antares_Simulator copied to clipboard

[Build] Remove DEPS_INSTALL_DIR in favor of standard CMAKE_PREFIX_PATH

Open sylvlecl opened this issue 1 year ago • 0 comments

Description

Currently, configuring the project requires to define a special variable DEPS_INSTALL_DIR to define where antares-deps was installed.

This is not needed and not standard, we should rely instead on the standard CMAKE_PREFIX_PATH to define where those dependencies are installed. There is some xpansion-related code that needs to be checked, though:

https://github.com/AntaresSimulatorTeam/Antares_Simulator/blob/a630959fccd1fddf5e52de622876de4cd54560ac/src/CMakeLists.txt#L201C1-L218

@JasonMarechal25 do you know the background of this DEPS_INSTALL_DIR_XPANSION variable ?

sylvlecl avatar Nov 03 '23 07:11 sylvlecl