mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Disable CMAKE_INSTALL_PREFIX message for android builds
This commit is contained in:
@@ -42,7 +42,7 @@ set(definitions ${RDOC_DEFINITIONS})
|
||||
|
||||
set(VULKAN_LAYER_FOLDER_DEFAULT /etc/vulkan/implicit_layer.d)
|
||||
|
||||
if(NOT CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT AND NOT DEFINED VULKAN_LAYER_FOLDER)
|
||||
if(NOT ANDROID AND NOT CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT AND NOT DEFINED VULKAN_LAYER_FOLDER)
|
||||
message(WARNING "*** CMAKE_INSTALL_PREFIX has been customised to ${CMAKE_INSTALL_PREFIX}, but VULKAN_LAYER_FOLDER is not customised and defaults to ${VULKAN_LAYER_FOLDER_DEFAULT}. This may not do what you expect, e.g. installing to a non-root location ***")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user