CMake: Add missing stc and wxscintilla compile flags
This fixes absence of highlighting and folding in CMake builds. Closes https://github.com/wxWidgets/wxWidgets/pull/1097 Closes #18306.
This commit is contained in:
parent
7e297ee667
commit
db4c983881
@ -163,6 +163,8 @@ target_include_directories(wxscintilla PRIVATE
|
||||
target_compile_definitions(wxscintilla PUBLIC
|
||||
NO_CXX11_REGEX
|
||||
__WX__
|
||||
SCI_LEXER
|
||||
LINK_LEXERS
|
||||
)
|
||||
|
||||
if(wxBUILD_PRECOMP)
|
||||
@ -183,6 +185,8 @@ wx_lib_include_directories(stc PRIVATE
|
||||
${wxSOURCE_DIR}/src/stc/scintilla/src
|
||||
)
|
||||
wx_lib_compile_definitions(stc PRIVATE
|
||||
NO_CXX11_REGEX
|
||||
__WX__
|
||||
SCI_LEXER
|
||||
LINK_LEXERS
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user