Skip to content

Instantly share code, notes, and snippets.

@metacollin
Created September 26, 2015 10:42
Show Gist options
  • Save metacollin/cb877d83f3b117b766fa to your computer and use it in GitHub Desktop.
Save metacollin/cb877d83f3b117b766fa to your computer and use it in GitHub Desktop.
diff --git a/cmake/Modules/GrPython.cmake b/cmake/Modules/GrPython.cmake
index 791114e..b2297f5 100644
--- a/cmake/Modules/GrPython.cmake
+++ b/cmake/Modules/GrPython.cmake
@@ -74,7 +74,7 @@ macro(GR_PYTHON_CHECK_MODULE desc mod cmd have)
message(STATUS "")
message(STATUS "Python checking for ${desc}")
execute_process(
- COMMAND ${PYTHON_EXECUTABLE} -c "
+ COMMAND ${PYTHON_EXECUTABLE} -c "import wxversion; wxversion.select(\"3.0.2.0\");
#########################################
try:
import ${mod}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment