Drop unneeded Q_OS_LINUX32/Q_OS_LINUX64
This commit is contained in:
parent
eb97b772a3
commit
03bde956c5
1 changed files with 0 additions and 8 deletions
8
external/qt/CMakeLists.txt
vendored
8
external/qt/CMakeLists.txt
vendored
|
|
@ -7,14 +7,6 @@
|
||||||
add_library(external_qt INTERFACE IMPORTED GLOBAL)
|
add_library(external_qt INTERFACE IMPORTED GLOBAL)
|
||||||
add_library(desktop-app::external_qt ALIAS external_qt)
|
add_library(desktop-app::external_qt ALIAS external_qt)
|
||||||
|
|
||||||
if (LINUX)
|
|
||||||
if (NOT build_linux32)
|
|
||||||
target_compile_definitions(external_qt INTERFACE Q_OS_LINUX64)
|
|
||||||
else()
|
|
||||||
target_compile_definitions(external_qt INTERFACE Q_OS_LINUX32)
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (DESKTOP_APP_USE_PACKAGED)
|
if (DESKTOP_APP_USE_PACKAGED)
|
||||||
target_link_libraries(external_qt
|
target_link_libraries(external_qt
|
||||||
INTERFACE
|
INTERFACE
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue