Commit 6fdd9cf6 authored by GILLES Sebastien's avatar GILLES Sebastien

#1339 CMake: do not use PROJECT_NAME while defining the macro MOREFEM_INSTALL_DIR.

parent fd436d88
......@@ -65,7 +65,7 @@ endfunction()
# ##########################################################################################
# A wrapper over install() command which performs the following additional tasks:
# - If the target is an executable, call set_target_properties() to properly define RPATH for the target. This is r
# - If the target is an executable, call set_target_properties() to properly define RPATH for the target. This is
# required at least for shared libraries on macOS.
# - Install the targets in the MoReFEM installation directories.
# ##########################################################################################
......
......@@ -125,10 +125,7 @@ if (${MOREFEM_DO_SANITIZE})
endif()
set(MOREFEM_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME})
set(MOREFEM_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/MoReFEM)
set(MOREFEM_INSTALL_DIR_EXE ${MOREFEM_INSTALL_DIR}/bin)
set(MOREFEM_INSTALL_DIR_LIB ${MOREFEM_INSTALL_DIR}/lib)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment