mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
move QT_VISIBILITY_AVAILABLE out of the mkspecs
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
18b57053cf
commit
1e0a216c40
2 changed files with 5 additions and 4 deletions
|
@ -218,6 +218,11 @@ endif()
|
|||
# used in qconfig.h
|
||||
check_type_size(size_t QT_POINTER_SIZE)
|
||||
|
||||
if(KATIE_COMPILER MATCHES "(gcc|clang)")
|
||||
set(QT_VISIBILITY_AVAILABLE TRUE)
|
||||
endif()
|
||||
|
||||
|
||||
configure_file(
|
||||
${CMAKE_SOURCE_DIR}/src/core/global/qconfig.h.cmake
|
||||
${CMAKE_BINARY_DIR}/include/QtCore/qconfig.h
|
||||
|
|
|
@ -78,10 +78,6 @@ if(NOT KATIE_KEY)
|
|||
set(KATIE_KEY "${KATIE_ARCHITECTURE} ${KATIE_PLATFORM} ${KATIE_COMPILER} full-config")
|
||||
endif()
|
||||
|
||||
if("${KATIE_COMPILER}" MATCHES "(gcc|clang)")
|
||||
set(QT_VISIBILITY_AVAILABLE TRUE)
|
||||
endif()
|
||||
|
||||
# Set compiler standard to C++ 11
|
||||
if(NOT CMAKE_VERSION VERSION_LESS "3.1.0")
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
|
Loading…
Add table
Reference in a new issue