Commit f234bdf4 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Put the Android extra linking cmake code behind a variable

The env variable check doesn't work on binary-factory for some reason so
use an actual variable that will be given by Craft
parent d6b15249
Pipeline #141774 passed with stage
in 10 minutes and 7 seconds
......@@ -13,8 +13,8 @@ if (ANDROID)
# Unfortunately gitlab CI for now doesn't use Craft so we need
# to differentiate between gitlab CI and the binary factory
if (DEFINED ENV{craftRoot})
message("Linking in extra libraies to help androiddeployqt")
if (ANDROID_LINK_EXTRA_LIBRARIES)
message("Linking in extra libraries to help androiddeployqt")
# androiddeployqt is not super smart and sometimes fails packaging
# some of the libraries we only use in plugins, here we help it by linking to those "extra" libs
# that are not really needed
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment