Bug #2118

Fix CMake for the installation to user directory

Added by pospelov almost 2 years ago. Updated almost 2 years ago.

Status:RejectedStart date:19 Jul 2018
Priority:ImmediateDue date:
Assignee:-% Done:

0%

Category:-
Target version:Sprint 38

Description

  • cmake -DCMAKE_INSTALL_PREFIX=../installed tries to install BornAgain to /BornAgain-1.12.0 directory
  • So it fails since it requires /root priveleges
Expected behavior:
  • Should install to ../installed
  • Before commit 9f03c1e3 cmake was showing
        bin->bin,
        lib->lib/BornAgain-1.12,
        gui->lib/BornAgain-1.12,
        include->include/BornAgain-1.12,
        share->share/BornAgain-1.12/,
        examples->share/BornAgain-1.12/Examples,
        images->share/BornAgain-1.12/Images,
        libexec->lib/BornAgain-1.12
    
  • after this commit
    bin->/BornAgain-1.12,
    lib->/lib/BornAgain-1.12,
    gui->/BornAgain-1.12,
    include->/include/BornAgain-1.12,
    share->/share/BornAgain-1.12/,
    examples->/share/BornAgain-1.12//Examples,
    images->/share/BornAgain-1.12//Images,
    libexec->/BornAgain-1.12

after this commit

History

#1 Updated by pospelov almost 2 years ago

  • Status changed from Sprint to Rejected

Also available in: Atom PDF