diff options
author | Leander Beernaert <leander.beernaert@qt.io> | 2020-02-19 16:24:53 +0100 |
---|---|---|
committer | Leander Beernaert <leander.beernaert@qt.io> | 2020-02-20 15:11:01 +0000 |
commit | a2376f4ded447d9d19cc8978f18319bde09484d7 (patch) | |
tree | 6ef93f3c146585dfe96037cc8b617571aa0b5d59 /src/openglwidgets | |
parent | 0959c75d16a37fbbdfa4fcf14311b773079319a9 (diff) |
CMake: Fix tst_plugin
It is not possible to exclude targets based on the build configuration
in CMake. loadDebugPlugin() and loadReleasePlugin() will always fail as
both debug and release plugins are built regardless of the build
configuration.
This patch adds the CMAKE_BUILD define and skips the opposite test on
Windows. E.g.: With config = Debug, the loadReleasePlugin() test is
skipped and viceversa.
Change-Id: I2659882604bb39eb11d3e9e2b2b37a2972475285
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/openglwidgets')
0 files changed, 0 insertions, 0 deletions