From b4240827df4e7fef6c284f6e631825ed370b08d1 Mon Sep 17 00:00:00 2001 From: Mike Krus Date: Mon, 15 Jun 2020 17:31:11 +0100 Subject: 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 --- src/input/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/input') 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:: -- cgit v1.2.3