diff options
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ce17f5d88b..68a1b0e6fae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -159,6 +159,15 @@ if(NOT WITH_IMAGE_OPENJPEG AND WITH_IMAGE_REDCODE) message(FATAL_ERROR "WITH_IMAGE_REDCODE requires WITH_IMAGE_OPENJPEG") endif() +# python module, needs some different options +if(WITH_PYTHON_MODULE AND WITH_PLAYER) + message(FATAL_ERROR "WITH_PYTHON_MODULE requires WITH_PLAYER to be OFF") +endif() + +if(WITH_PYTHON_MODULE AND WITH_PYTHON_INSTALL) + message(FATAL_ERROR "WITH_PYTHON_MODULE requires WITH_PYTHON_INSTALL to be OFF") +endif() + TEST_SSE_SUPPORT() #----------------------------------------------------------------------------- |