From 6d7250b1390d6ea3f46d2fdfd0080c6210cb6d7b Mon Sep 17 00:00:00 2001 From: Leon Chen <32035063+LeonCHEN233@users.noreply.github.com> Date: Wed, 14 Feb 2018 19:11:32 +0000 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3284f0400e..50830fa618 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,10 +27,9 @@ enable_testing() # Set BUILD_PYTHON_BINDINGS to OFF when the platform are windows if(WIN32) option(BUILD_PYTHON_BINDINGS "Build Python bindings." OFF) - MESSAGE("BUILD_PYTHON_BINDINGS?" ${BUILD_PYTHON_BINDINGS}) + message(WARNING "By default Python bindings are not compiled for Windows because they are not known to work. Set BUILD_PYTHON_BINDINGS to ON if you want them built.") else() option(BUILD_PYTHON_BINDINGS "Build Python bindings." ON) - MESSAGE("BUILD_PYTHON_BINDINGS?" ${BUILD_PYTHON_BINDINGS}) endif() # Ensure that we have a C++11 compiler. In newer versions of CMake, this is