CMake: Escape backslashes in SWIG_LIB_WIN_UNIX
This commit is contained in:
parent
513ea736d3
commit
c6af0c5a67
1 changed files with 1 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ endif()
|
|||
|
||||
if (WIN32)
|
||||
file (TO_NATIVE_PATH ${CMAKE_INSTALL_PREFIX}/${SWIG_LIB} SWIG_LIB_WIN_UNIX)
|
||||
string (REGEX REPLACE "\\\\" "\\\\\\\\" SWIG_LIB_WIN_UNIX "${SWIG_LIB_WIN_UNIX}")
|
||||
endif ()
|
||||
configure_file (${SWIG_ROOT}/Tools/cmake/swigconfig.h.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/Source/Include/swigconfig.h)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue