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:
parent
890f560553
commit
65a67f219a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue