Changeset View
Changeset View
Standalone View
Standalone View
source/creator/CMakeLists.txt
| Show First 20 Lines • Show All 1,681 Lines • ▼ Show 20 Lines | )" | ||||
| FILES ${CMAKE_CURRENT_BINARY_DIR}/blender.1 | FILES ${CMAKE_CURRENT_BINARY_DIR}/blender.1 | ||||
| DESTINATION share/man/man1 | DESTINATION share/man/man1 | ||||
| ) | ) | ||||
| endif() | endif() | ||||
| endif() | endif() | ||||
| endif() | endif() | ||||
| endif() | endif() | ||||
| if(WIN32) | |||||
| # The python tests need to run from the python in the bin folder, but given the exact location | |||||
| # of this will not be known anywhere but this file, we set a property for other locations to use | |||||
| define_property(TARGET PROPERTY PYTHON_BINARY | |||||
| BRIEF_DOCS "Location of the windows python binary" | |||||
| FULL_DOCS "Location of the windows python binary" | |||||
| ) | |||||
| set_property(TARGET blender PROPERTY PYTHON_BINARY ${CMAKE_INSTALL_PREFIX}/${TARGETDIR_VER}/python/bin/python$<$<CONFIG:Debug>:_d>.exe) | |||||
| endif() | |||||
| # ----------------------------------------------------------------------------- | # ----------------------------------------------------------------------------- | ||||
| # Post-install script | # Post-install script | ||||
| if(POSTINSTALL_SCRIPT) | if(POSTINSTALL_SCRIPT) | ||||
| install(SCRIPT ${POSTINSTALL_SCRIPT}) | install(SCRIPT ${POSTINSTALL_SCRIPT}) | ||||
| endif() | endif() | ||||