diff options
Diffstat (limited to 'net-fs/cvmfs/cvmfs-2.1.20.0_p05-r2.ebuild')
-rw-r--r-- | net-fs/cvmfs/cvmfs-2.1.20.0_p05-r2.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net-fs/cvmfs/cvmfs-2.1.20.0_p05-r2.ebuild b/net-fs/cvmfs/cvmfs-2.1.20.0_p05-r2.ebuild index 00dc852..2bde18f 100644 --- a/net-fs/cvmfs/cvmfs-2.1.20.0_p05-r2.ebuild +++ b/net-fs/cvmfs/cvmfs-2.1.20.0_p05-r2.ebuild @@ -125,7 +125,6 @@ src_configure() { -DINSTALL_MOUNT_SCRIPTS=ON $(cmake-utils_use server BUILD_SERVER) $(cmake-utils_use test BUILD_UNITTESTS) - $(cmake-utils_use test-programs INSTALL_UNITTESTS) ) if use debug; then mycmakeargs+=( @@ -133,6 +132,14 @@ src_configure() { $(cmake-utils_use test BUILD_UNITTESTS_DEBUG) ) fi + if use test-programs; then + mycmakeargs+=( + -DBUILD_UNITTESTS=ON + -DINSTALL_UNITTESTS=ON + ) + else + mycmakeargs+=( -DINSTALL_UNITTESTS=OFF ) + fi cmake-utils_src_configure } |