Commit b61b9389 authored by Wolfgang Bauer's avatar Wolfgang Bauer

Revert "Fix build on 32bit systems"

This reverts commit 1d78410a.

Not necessary anymore, the build problem on some 32bit systems should
be fixed by renaming the slot DataSourceFactory::open() ...
parent 93870f22
......@@ -219,18 +219,6 @@ endif()
set_target_properties(kgetcore PROPERTIES VERSION 5.0.0 SOVERSION 5 )
if(${CMAKE_VERSION} VERSION_LESS "3.9.0")
# work around a bug in cmake that breaks the build on 32bit systems
# see bug#386948
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/moc_predefs.h
COMMAND "${CMAKE_CXX_COMPILER}" "-dM" "-E" "-c" "${CMAKE_ROOT}/Modules/CMakeCXXCompilerABI.cpp" > ${CMAKE_CURRENT_BINARY_DIR}/moc_predefs.h
)
set_property(TARGET kgetcore APPEND PROPERTY AUTOMOC_MOC_OPTIONS --include ${CMAKE_CURRENT_BINARY_DIR}/moc_predefs.h)
set_property(TARGET kgetcore APPEND PROPERTY AUTOGEN_TARGET_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/moc_predefs.h)
endif()
endif()
install(TARGETS kgetcore ${INSTALL_TARGETS_DEFAULT_ARGS})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment