Don't set wx-config prefix from CMAKE_PREFIX_PATH

I'm not sure what purpose this currently serves but I know that it
breaks the build when CMAKE_PREFIX_PATH is set to something nontrivial.
Stop doing that.
This commit is contained in:
Joseph Griego 2020-09-20 20:36:47 -04:00 committed by Rafael Kitover
parent 890f560553
commit 65a67f219a
1 changed files with 0 additions and 4 deletions

View File

@ -204,10 +204,6 @@ else()
# set(CMAKE_CXX_LINK_EXECUTABLE "${CMAKE_CXX_LINK_EXECUTABLE} -luuid -lwinspool")
#endif()
if(CMAKE_PREFIX_PATH)
set(wxWidgets_CONFIG_OPTIONS "--prefix=${CMAKE_PREFIX_PATH}")
endif()
set(wxWidgets_USE_UNICODE ON)
# Check for gtk4 then gtk3 packages first, some dists like arch rename the