Ignore:
Timestamp:
06/08/2024 03:47:44 PM (3 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
846bcc9
Parents:
e0b41c4
git-author:
Xi Ruoyao <xry111@…> (06/08/2024 01:38:42 PM)
git-committer:
Xi Ruoyao <xry111@…> (06/08/2024 03:47:44 PM)
Message:

Replace -DCMAKE_SKIP_RPATH with -DCMAKE_SKIP_INSTALL_RPATH

-DCMAKE_SKIP_RPATH = -DCMAKE_SKIP_INSTALL_RPATH +
-DCMAKE_SKIP_BUILD_RPATH, and the latter may cause test failure if the
package is not installed yet. Always use -DCMAKE_SKIP_INSTALL_RPATH for
consistency, and it also makes our life easier if we are going to add
test instruction for a CMake-based package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/graphlib/opencv.xml

    re0b41c4 rcda5f277  
    168168      -DBUILD_TESTS=OFF                \
    169169      -DENABLE_PRECOMPILED_HEADERS=OFF \
    170       -DCMAKE_SKIP_RPATH=ON            \
     170      -DCMAKE_SKIP_INSTALL_RPATH=ON    \
    171171      -DBUILD_WITH_DEBUG_INFO=OFF      \
    172172      -Wno-dev  ..                     &amp;&amp;
Note: See TracChangeset for help on using the changeset viewer.