summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2015-10-08 08:24:36 (GMT)
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2015-10-08 08:24:36 (GMT)
commit031780293d2838da2643b46878061598ebb56822 (patch)
treea2aafedd14d3de6f401f0caf90283c8072634bff
parentffff69548813cd6c018973c3c0ae8b06b5e3eadc (diff)
downloadDoxygen-031780293d2838da2643b46878061598ebb56822.zip
Doxygen-031780293d2838da2643b46878061598ebb56822.tar.gz
Doxygen-031780293d2838da2643b46878061598ebb56822.tar.bz2
DO NOT hardcode x86-64 architecture.
doxygen built on most of architectures by pure luck and order of Qt5 qatomics_arch.h header where check for QT_ARCH_X86_64 was *after* most of other architectures. But not after AArch64 where it failed due to attempt of using x86-64 atomics code. Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
-rw-r--r--addon/doxywizard/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/addon/doxywizard/CMakeLists.txt b/addon/doxywizard/CMakeLists.txt
index eb97388..9971679 100644
--- a/addon/doxywizard/CMakeLists.txt
+++ b/addon/doxywizard/CMakeLists.txt
@@ -45,7 +45,7 @@ include_directories(
set(GENERATED_SRC_WIZARD ${GENERATED_SRC}/doxywizard)
file(MAKE_DIRECTORY ${GENERATED_SRC_WIZARD})
-add_definitions(-DQT_ARCH_X86_64 -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DUNICODE)
+add_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DUNICODE)
if (NOT Qt5Core_FOUND)
include(${QT_USE_FILE})
endif()