diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-24 03:14:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-24 03:14:49 +0300 |
commit | c210b3991a074f27af80178c85d0658c4041480b (patch) | |
tree | 91f7029e54325c125411896aba150caa7f78be05 /CMakeLists.txt | |
parent | 261f74115daf8d1622c60a85ec1e0f3faef641fc (diff) |
support for blender as a module on win32.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d860d525289..afb3d71a0ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1017,6 +1017,13 @@ if(WITH_OPENMP) endif() #----------------------------------------------------------------------------- +# Configure Python. + +if(WITH_PYTHON_MODULE) + add_definitions(-DPy_ENABLE_SHARED) +endif() + +#----------------------------------------------------------------------------- # Extra compile flags if((NOT WIN32) AND (NOT MSVC)) |