diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-22 17:27:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-22 17:27:46 +0300 |
commit | 32c13137f585c91ad05528a20e8bce3f37bb7bd8 (patch) | |
tree | 9d9c4d0e671cd2e6a90d5d5e3873ab1cdf5c8b03 /CMakeLists.txt | |
parent | bde2f962579853c9d3bb3a47b01f88ec6a9a3b63 (diff) |
disable some conflicting options WITH_PYTHON_MODULE
Diffstat (limited to 'CMakeLists.txt')
-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() #----------------------------------------------------------------------------- |