Commit 004377f7 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Merge branch '99-fix-versions-overrides' into 'master'

Add new-style CMake version constraints to old-style CMake builds

Closes #99

See merge request lhcb-core/LbNightlyTools!371
parents 2aa53ee7 4ce91017
......@@ -269,6 +269,14 @@ class cmake_old(make):
for item in cache_entries
])
# constrain versions of projects not built in the slot
if proj.slot:
cache.writelines(
'set({project}_EXACT_VERSION "{version}" CACHE STRING "")\n'
.format(
project=p.name, version=to_cmake_version(p.version))
for p in proj.slot.projects if p.disabled)
def _make(self, target, proj, **kwargs):
'''
Override basic make call to set the environment variable USE_CMT=1.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment