Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
| Context not available. | |||||
| elseif(APPLE) | elseif(APPLE) | ||||
| set(CMAKE_INSTALL_PREFIX ${EXECUTABLE_OUTPUT_PATH}/\${BUILD_TYPE} CACHE PATH "default install path" FORCE) | set(CMAKE_INSTALL_PREFIX ${EXECUTABLE_OUTPUT_PATH}/\${BUILD_TYPE} CACHE PATH "default install path" FORCE) | ||||
| else() | else() | ||||
| if(WITH_INSTALL_PORTABLE) | if(WITH_INSTALL_PORTABLE) | ||||
| set(CMAKE_INSTALL_PREFIX ${EXECUTABLE_OUTPUT_PATH} CACHE PATH "default install path" FORCE) | set(CMAKE_INSTALL_PREFIX ${EXECUTABLE_OUTPUT_PATH} CACHE PATH "default install path" FORCE) | ||||
| endif() | endif() | ||||
| endif() | endif() | ||||
| endif() | endif() | ||||
| # Apple | |||||
| if(APPLE) | |||||
| include(platform_apple_xcode) | |||||
| endif() | |||||
| #----------------------------------------------------------------------------- | #----------------------------------------------------------------------------- | ||||
| # Check for conflicting/unsupported configurations | # Check for conflicting/unsupported configurations | ||||
| if(NOT WITH_BLENDER AND NOT WITH_CYCLES_STANDALONE) | if(NOT WITH_BLENDER AND NOT WITH_CYCLES_STANDALONE) | ||||
| message(FATAL_ERROR | message(FATAL_ERROR | ||||
| "At least one of WITH_BLENDER or WITH_CYCLES_STANDALONE " | "At least one of WITH_BLENDER or WITH_CYCLES_STANDALONE " | ||||
| "must be enabled, nothing to do!" | "must be enabled, nothing to do!" | ||||
| ) | ) | ||||
| endif() | endif() | ||||
| Context not available. | |||||