mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 13:30:34 +05:00
[cmake] Fix Python version check
This commit is contained in:
parent
7b8c33ed49
commit
c0d0a3a1ab
@ -1,6 +1,6 @@
|
||||
if(APPLE)
|
||||
# use system tcl/tk
|
||||
if(${PYTHON_VERSION_STRING} STREQUAL "3.7")
|
||||
if((${PYTHON_VERSION_STRING} VERSION_EQUAL "3.7") OR (${PYTHON_VERSION_STRING} VERSION_GREATER "3.7"))
|
||||
# fetch tcl/tk sources to match the one used in Python 3.7
|
||||
ExternalProject_Add(project_tcl
|
||||
URL "https://prdownloads.sourceforge.net/tcl/tcl8.6.8-src.tar.gz"
|
||||
|
Loading…
Reference in New Issue
Block a user