use install target for CMake Windows (msvc and mingw), for MinGW you now need to run 'make install', for MSVC the 'INSTALL' target needs to be enabled in the project file

This commit is contained in:
Campbell Barton
2011-03-07 03:33:33 +00:00
parent 12ec60ca46
commit e1649ecda9
2 changed files with 155 additions and 119 deletions

View File

@@ -718,13 +718,12 @@ elseif(WIN32)
set(WITH_JACK OFF)
endif()
# TODO: mingw move to Python 3.2
if(WITH_PYTHON)
set(PYTHON ${LIBDIR}/python)
set(PYTHON_VERSION 3.1)
set(PYTHON_VERSION 3.2)
set(PYTHON_INCLUDE_DIRS "${PYTHON}/include/python${PYTHON_VERSION}")
# set(PYTHON_BINARY python) # not used yet
set(PYTHON_LIBRARY python31mw)
set(PYTHON_LIBRARY python32mw)
set(PYTHON_LIBPATH ${PYTHON}/lib)
endif()