lib2geom: Move gtest back to check inputs
This reverts commit 1973e2a627 and disables building tests instead.
This commit is contained in:
@@ -41,11 +41,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
gsl
|
||||
cairo
|
||||
double-conversion
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
gtest
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-D2GEOM_BUILD_SHARED=ON"
|
||||
# For cross compilation.
|
||||
(lib.cmakeBool "2GEOM_TESTING" finalAttrs.doCheck)
|
||||
];
|
||||
|
||||
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
|
||||
Reference in New Issue
Block a user