gradle: Provide a default eigenIncludeDir that works on Linux

This commit is contained in:
Ryan Pavlik 2020-10-29 14:49:01 -05:00
parent 36fa605ab4
commit 64d891f0c6

View file

@ -22,8 +22,9 @@ ext {
sharedTargetSdk = 30
sharedMinSdk = 26
// If you get an error here, make sure you have this set in local.properties
eigenIncludeDir = project.property('eigenIncludeDir')
// If you are building on Windows, you will need to explicitly set eigenIncludeDir in your
// local.properties file since the default value provided below only makes sense on *nix
eigenIncludeDir = project.findProperty('eigenIncludeDir') ?: '/usr/include/eigen3'
}
allprojects {