mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix regex in CMakeLists.txt.
Apparently CMake doesn't handle backslashes well and \. doesn't work in spite of its being an example in the documentation.
This commit is contained in:
@@ -288,7 +288,7 @@ endif (WIN32)
|
||||
if(GENERATE_SWIG_WRAPPERS)
|
||||
find_package (SWIG 2.0.10 REQUIRED)
|
||||
include (${SWIG_USE_FILE})
|
||||
string(REGEX MATCH "^[0-9]+\." SWIG_MAJOR ${SWIG_VERSION})
|
||||
string(REGEX MATCH "^[0-9]+[.]" SWIG_MAJOR ${SWIG_VERSION})
|
||||
endif()
|
||||
|
||||
# Find Guile and determine which version we are using.
|
||||
|
||||
Reference in New Issue
Block a user