Skip to content

Commit

Permalink
DO NOT hardcode x86-64 architecture.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
hrw committed Oct 8, 2015
1 parent ffff695 commit 0317802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/doxywizard/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0317802

Please sign in to comment.