mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 06:40:16 -05: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()
|
wx_extract_version()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
file(TO_CMAKE_PATH "${wxWidgets_INCLUDE_DIRS}" wxWidgets_INCLUDE_DIRS)
|
||||||
|
file(TO_CMAKE_PATH "${wxWidgets_LIBRARY_DIRS}" wxWidgets_LIBRARY_DIRS)
|
||||||
|
|
||||||
# Debug output:
|
# Debug output:
|
||||||
DBG_MSG("wxWidgets_FOUND : ${wxWidgets_FOUND}")
|
DBG_MSG("wxWidgets_FOUND : ${wxWidgets_FOUND}")
|
||||||
DBG_MSG("wxWidgets_INCLUDE_DIRS : ${wxWidgets_INCLUDE_DIRS}")
|
DBG_MSG("wxWidgets_INCLUDE_DIRS : ${wxWidgets_INCLUDE_DIRS}")
|
||||||
|
|||||||
Reference in New Issue
Block a user