Fix SEGV at runtime caused by invalid platform detection at build time

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/3/head r14.1.1
Michele Calgaro 2 years ago
parent 57e74b846a
commit ee04a7e23d
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -79,6 +79,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
add_subdirectory( src )
add_subdirectory( tqt )
add_subdirectory( example )
tde_conditional_add_subdirectory( BUILD_PLUGIN designer )
tde_conditional_add_project_docs( BUILD_DOC )

@ -26,7 +26,7 @@
#undef PLAT_FOX
#define PLAT_FOX 1
#elif defined(QT)
#elif defined(TQT)
#undef PLAT_TQT
#define PLAT_TQT 1

@ -11,7 +11,7 @@ link_directories(
${TQT_LIBRARY_DIRS}
)
add_definitions( -DQT -DSCI_LEXER )
add_definitions( -DTQT -DSCI_LEXER )
##### src (static)

@ -11,7 +11,7 @@ link_directories(
${TQT_LIBRARY_DIRS}
)
add_definitions( -DTQT )
add_definitions( -DTQT -DSCI_LEXER )
##### tqscintilla (shared)

Loading…
Cancel
Save