summaryrefslogtreecommitdiffstats
path: root/util/cmake/configurejson2cmake.py
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2019-01-31 16:20:32 +0100
committerTobias Hunger <tobias.hunger@qt.io>2019-02-11 09:35:07 +0000
commit73f5036be58c52ab0c8a101e5e34ea6de12b9a29 (patch)
tree7803b954873090221203c51eec27f460877f6a56 /util/cmake/configurejson2cmake.py
parent25457f29db8b0321202afba25c3168c5ac9f9bbb (diff)
CMake: Map dlopen feature to 'ON'
Map the dlopen feature to 'ON'. The effect is that cmake will figure out whether or not linking to 'dl' is necessary or not. The user-visible feature is 'library' anyway: That enables dynamic library loading -- and will link in 'dl' as needed. Change-Id: I0d68275a7234efba7f926150f120bb37b4a1163f Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'util/cmake/configurejson2cmake.py')
-rwxr-xr-xutil/cmake/configurejson2cmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index 03625da1a5..770f7588a3 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -276,7 +276,7 @@ def map_condition(condition):
assert isinstance(condition, str)
mapped_features = {
- "dlopen": "UNIX",
+ "dlopen": "ON",
'gbm': 'gbm_FOUND',
"system-xcb": "ON",
"system-freetype": "ON",