vcpkg/ports/wxwidgets/fix-build.patch
Jack·Boos·Yu c99dc50be9
[vcpkg baseline][many ports] Fix build error (#17983)
* [vcpkg baseline][wxwidgets] Fix build error

* [mlpack] Fix configure error (upstream bug)

* [vcpkg baseline] [embree2/embree3] Set cmake policy

* Remove control file

* Update baseline version

* [mlpack] Re-write the dependency

* [mlpack] Remove dependency boost-test since only feature test need it, add more boost dependencies.

* [mlpack] Add dependency boost-heap

* [mlpack] Fix uwp build

* update version record

* [mlpack] Revert uwp fix

* update version record

* [mlpack] Remove dependency boost-test

* update version record

* update baseline

* [clamav] Update hash

* update version record

Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-05-19 14:05:43 -07:00

16 lines
635 B
Diff

diff --git a/build/cmake/lib/stc/CMakeLists.txt b/build/cmake/lib/stc/CMakeLists.txt
index bd6acd8..b5b5780 100644
--- a/build/cmake/lib/stc/CMakeLists.txt
+++ b/build/cmake/lib/stc/CMakeLists.txt
@@ -179,7 +179,9 @@ if(wxBUILD_PRECOMP)
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
set(wxSCINTILLA_PREC_HEADER "${wxSOURCE_DIR}/src/stc/scintilla/include/Scintilla.h")
endif()
- wx_target_enable_precomp(wxscintilla ${wxSCINTILLA_PREC_HEADER})
+ if (wxSCINTILLA_PREC_HEADER)
+ wx_target_enable_precomp(wxscintilla ${wxSCINTILLA_PREC_HEADER})
+ endif()
endif()
wx_add_library(wxstc ${STC_FILES})