mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-10 15:50:50 -06:00
FindwxWidgets: Convert include and library paths to cmake-style
This fixes DBG_MSG errors when a path uses \ instead of /.
This commit is contained in:
@@ -986,6 +986,9 @@ if(wxWidgets_FOUND)
|
||||
wx_extract_version()
|
||||
endif()
|
||||
|
||||
file(TO_CMAKE_PATH "${wxWidgets_INCLUDE_DIRS}" wxWidgets_INCLUDE_DIRS)
|
||||
file(TO_CMAKE_PATH "${wxWidgets_LIBRARY_DIRS}" wxWidgets_LIBRARY_DIRS)
|
||||
|
||||
# Debug output:
|
||||
DBG_MSG("wxWidgets_FOUND : ${wxWidgets_FOUND}")
|
||||
DBG_MSG("wxWidgets_INCLUDE_DIRS : ${wxWidgets_INCLUDE_DIRS}")
|
||||
|
||||
Reference in New Issue
Block a user