Gtkorvo updates (#8663)
* gtkorvo-atl: Updated to version 2.2 * gtkorvo-dill: Updated to version 2.4 * gtkorvo-enet: Updated to version 1.3.14 * libevpath: Updated to version 4.4.0 * libffs: Updated to version 1.5 * gtkorvo-atl: Bugfix: Fixed cmake args * gtkorvo-enet: Switched order of versions to have the latest version on the top * gtkorvo-atl: Cleaned up cmake_args. Added conditional self.run_tests * gtkorvo-dill: Cleaned up cmake_args. Added conditional self.run_tests * libffs: Correction in dependency versions. Cleaned up cmake_args. Added conditional self.run_tests * libevpath: Correction in dependency versions. Cleaned up cmake_args. Added conditional self.run_tests * gtkorvo-atl: Removed unused option from cmake args
This commit is contained in:

committed by
Adam J. Stewart

parent
90042749e8
commit
3c4ef576d9
@@ -35,10 +35,21 @@ class GtkorvoAtl(CMakePackage):
|
||||
|
||||
version('develop', git='https://github.com/GTkorvo/atl.git',
|
||||
branch='master')
|
||||
version('2.2', 'f0e3581e4b4c6943bf4b203685630564')
|
||||
version('2.1', 'b2324ff041bccba127330a0e1b241978')
|
||||
|
||||
depends_on('gtkorvo-cercs-env')
|
||||
|
||||
def cmake_args(self):
|
||||
args = ["-DENABLE_TESTING=0", "-DENABLE_BUILD_STATIC=STATIC"]
|
||||
args = []
|
||||
if self.spec.satisfies('@2.2:'):
|
||||
args.append("-DBUILD_SHARED_LIBS=OFF")
|
||||
else:
|
||||
args.append("-DENABLE_BUILD_STATIC=STATIC")
|
||||
|
||||
if self.run_tests:
|
||||
args.append('-DENABLE_TESTING=1')
|
||||
else:
|
||||
args.append('-DENABLE_TESTING=0')
|
||||
|
||||
return args
|
||||
|
Reference in New Issue
Block a user