CMake: remove Android ABI shared library suffix for Qt.
This commit is contained in:
parent
b4f435cbe8
commit
60c3ec9298
1 changed files with 7 additions and 0 deletions
|
|
@ -134,6 +134,13 @@ if(WXQT)
|
||||||
list(APPEND wxTOOLKIT_DEFINITIONS ${Qt5${QT_COMPONENT}_COMPILE_DEFINITIONS})
|
list(APPEND wxTOOLKIT_DEFINITIONS ${Qt5${QT_COMPONENT}_COMPILE_DEFINITIONS})
|
||||||
endforeach()
|
endforeach()
|
||||||
set(wxTOOLKIT_VERSION ${Qt5Core_VERSION})
|
set(wxTOOLKIT_VERSION ${Qt5Core_VERSION})
|
||||||
|
|
||||||
|
if(ANDROID)
|
||||||
|
# A hack to remove _${ANDROID_ABI} that Qt5AndroidSupport.cmake added
|
||||||
|
# which breaks wx-config.
|
||||||
|
set(CMAKE_SHARED_LIBRARY_SUFFIX_C ${CMAKE_SHARED_LIBRARY_SUFFIX})
|
||||||
|
set(CMAKE_SHARED_LIBRARY_SUFFIX_CXX ${CMAKE_SHARED_LIBRARY_SUFFIX})
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue