diff options
author | Cristian Adam <cristian.adam@qt.io> | 2020-01-31 13:50:50 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2020-01-31 12:59:07 +0000 |
commit | 1fac0d49a2fa913ba7e408fdfd516d6b8414d5c5 (patch) | |
tree | 13b916dc4a0f6abc3b106dfd244d3f59bfae4f61 /cmake | |
parent | 04e45d1bd9a0a5910a9a9f40e655fb71d1570be4 (diff) |
CMake Build: Add include guards for QtCreatorAPI
Commit e8fceb821e3e18ba2d2230c02b6e0cd31d119d03 re-includes the file,
and things go bad.
Change-Id: Ifad79824f1a64459cd01337656b1a1300f49d06b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QtCreatorAPI.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/QtCreatorAPI.cmake b/cmake/QtCreatorAPI.cmake index 0add72a390..8647bd49cf 100644 --- a/cmake/QtCreatorAPI.cmake +++ b/cmake/QtCreatorAPI.cmake @@ -1,3 +1,8 @@ +if(QT_CREATOR_API_DEFINED) + return() +endif() +set(QT_CREATOR_API_DEFINED TRUE) + include(FeatureSummary) # |