|
|
|
@ -127,7 +127,7 @@ class CMakeSubproject(ModuleObject): |
|
|
|
|
if res is None: |
|
|
|
|
raise InterpreterException(f'The CMake target {tgt} does not exist\n' + |
|
|
|
|
' Use the following command in your meson.build to list all available targets:\n\n' + |
|
|
|
|
' message(\'CMaket targets:\\n - \' + \'\\n - \'.join(<cmake_subproject>.target_list()))') |
|
|
|
|
' message(\'CMake targets:\\n - \' + \'\\n - \'.join(<cmake_subproject>.target_list()))') |
|
|
|
|
|
|
|
|
|
# Make sure that all keys are present (if not this is a bug) |
|
|
|
|
assert all([x in res for x in ['inc', 'src', 'dep', 'tgt', 'func']]) |
|
|
|
|