bbopt / nomad

NOMAD - A blackbox optimization software
https://nomad-4-user-guide.readthedocs.io/
GNU Lesser General Public License v3.0
114 stars 24 forks source link

cmake does not respect the CMAKE_INSTALL_PREFIX variable? #81

Closed SobhanMP closed 2 years ago

SobhanMP commented 2 years ago

set(CMAKE_INSTALL_PREFIX ${PROJECT_BINARY_DIR} CACHE PATH "..." FORCE) in the cmake file seems to just overwrite it.

ctribes commented 2 years ago

Fixed to get the intended behaviour: Default CMAKE_INSTALL_PREFIX is in $PROJECT_BINARY_DIR if not specified by user.

Binaries for examples are still installed in $NOMAD_HOME/examples.

SobhanMP commented 2 years ago

:+1: