diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-06-14 18:42:30 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-06-14 18:42:30 +0300 |
commit | 39c26d6fe007ae6012a3a4d41d8cadcafecc4048 (patch) | |
tree | 152afc5d7bd17eed55696c29467752891fa918e2 /dependencies.py | |
parent | 2c3986796eaa9265deaae34ccb7b09bfb3b32df8 (diff) | |
download | meson-39c26d6fe007ae6012a3a4d41d8cadcafecc4048.zip meson-39c26d6fe007ae6012a3a4d41d8cadcafecc4048.tar.gz meson-39c26d6fe007ae6012a3a4d41d8cadcafecc4048.tar.bz2 |
Can use both main and nomain gtest in same project. Fixes #149.
Diffstat (limited to 'dependencies.py')
-rw-r--r-- | dependencies.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dependencies.py b/dependencies.py index aa22533..ea914d9 100644 --- a/dependencies.py +++ b/dependencies.py @@ -978,7 +978,7 @@ def get_dep_identifier(name, kwargs): modlist = [modlist] for module in modlist: elements.append(module) - return '/'.join(elements) + return '/'.join(elements) + '/main' + str(kwargs.get('main', False)) def find_external_dependency(name, environment, kwargs): required = kwargs.get('required', True) |