diff options
author | Mike Krus <mike.krus@kdab.com> | 2020-06-15 17:31:11 +0100 |
---|---|---|
committer | Mike Krus <mike.krus@kdab.com> | 2020-06-17 12:51:49 +0100 |
commit | b4240827df4e7fef6c284f6e631825ed370b08d1 (patch) | |
tree | 3f973c7e821cdc4fdaafbd3b7d5a9b92b37614ce /src/input | |
parent | c4278119a82b94777a0e0173d4fd9b7fedb40065 (diff) |
Fix handling of SSE/AVX source
QtBase has macro to enable SSE handling on specific source files.
But Qt3D has some classes which use those specific instruction set
in headers, so any file that includes those should also have the
right command line options.
This adds the right command line arguments to the 3DCorePrivate target
so that anything that depends on that will have the right options.
3DCore is fine because it knows about the special headers files which
were tagged.
Change-Id: Ia061750121fb2ab5c93600c08a5464179ca2c228
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input/CMakeLists.txt b/src/input/CMakeLists.txt index d1038028e..1b14d09b1 100644 --- a/src/input/CMakeLists.txt +++ b/src/input/CMakeLists.txt @@ -82,12 +82,14 @@ qt_add_module(3DInput frontend LIBRARIES Qt::CorePrivate - PUBLIC_LIBRARIES Qt::3DCorePrivate + PUBLIC_LIBRARIES + Qt::3DCore Qt::Core Qt::Gui PRIVATE_MODULE_INTERFACE Qt::CorePrivate + Qt::3DCorePrivate ) #### Keys ignored in scope 1:.:.:input.pro:<TRUE>: |