Skip to content

Commit b5e6004

Browse files
committed
fixed logic for environment variable
1 parent c61767b commit b5e6004

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CMakePresets.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,8 @@
422422
"CPP_STARTER_USE_QT": "ON"
423423
},
424424
"environment": {
425-
"NOT_ON_C3I": "1"
425+
"NOT_ON_C3I": "1",
426+
"DONT_CONFIGURE_QT": "0"
426427
}
427428
}
428429
],

conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def configure(self):
1717
self.requires = conans.model.requires.Requirements(['fmt/10.0.0', 'sml/1.1.6'])
1818
return
1919

20-
if os.getenv("DONT_CONFIGURE_QT"):
20+
if os.getenv("DONT_CONFIGURE_QT") == '1':
2121
requirement = ['catch2/3.4.0', 'gtest/1.14.0', 'docopt.cpp/0.6.3',
2222
'spdlog/1.12.0', 'sml/1.1.8', 'nlohmann_json/3.11.2',
2323
'boost/1.83.0', 'crowcpp-crow/1.0+5', 'cppzmq/4.9.0',

0 commit comments

Comments
 (0)