diff options
author | Michal Klocek <michal.klocek@qt.io> | 2019-08-07 15:24:20 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2019-08-15 07:55:23 +0200 |
commit | 63b6f748f1073599845d57ee4f73aecad8182a33 (patch) | |
tree | 2a307f17194d015a96bc68e9dbfaab374d1c0d56 /src/core/configure.json | |
parent | 8b45a0998c6f4cf28ebb51e816018a2a7416bdfd (diff) |
Move snappy test to configure
Change-Id: I585e7f9aa19d03ca164e9419e55997526aeaca86
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/core/configure.json')
-rw-r--r-- | src/core/configure.json | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/src/core/configure.json b/src/core/configure.json index b4d39696f..0ee556cfb 100644 --- a/src/core/configure.json +++ b/src/core/configure.json @@ -250,6 +250,19 @@ { "type": "pkgConfig", "args": "freetype2" } ] }, + "webengine-snappy": { + "label": "snappy", + "test": { + "main": [ + "snappy::Source *src = 0;", + "snappy::Sink *sink = 0;" + ] + }, + "headers": "snappy.h", + "sources": [ + "-lsnappy" + ] + }, "webengine-x11" : { "label" : "x11", "sources": [ @@ -274,11 +287,6 @@ "test": "libvpx", "type": "compile" }, - "webengine-snappy": { - "label": "snappy", - "test": "snappy", - "type": "compile" - }, "webengine-winversion": { "label": "winversion", "test": "winversion", @@ -510,7 +518,7 @@ }, "webengine-system-snappy" : { "label": "snappy", - "condition": "config.unix && tests.webengine-snappy", + "condition": "config.unix && libs.webengine-snappy", "output": [ "privateFeature" ] }, "webengine-winversion" : { |