summaryrefslogtreecommitdiffstatsci
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2022-02-21 06:08:27 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2022-02-21 06:08:27 +0100
commit2775eb5e0712ed056d45c1fc34c5d576063be62e (patch)
tree86da70a055e96a0345fd337811d331b6d883e295 /CMakeLists.txt
parent970c81a75e81ded8121b888f89257fc1fcadcbe1 (diff)
don't automatically enable scalar block if vk version = 1.2android_fix
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 89542ed..46640ff 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -129,7 +129,7 @@ CMAKE_DEPENDENT_OPTION(VKVG_BUILD_DOCS "build documentation" OFF "DOXYGEN_FOUND
CMAKE_DEPENDENT_OPTION(VKVG_LCD_FONT_FILTER "enable freetype lcd font filtering" OFF "VKVG_USE_FONTCONFIG" OFF)
# todo if cmake vers >= 3.23: make dependent option on Vulkan_VERSION >= 1_2:
-OPTION(VKVG_VK_SCALAR_BLOCK_SUPPORTED "Force scalar block layout support if vulkan version < 1_2" OFF)
+OPTION(VKVG_VK_SCALAR_BLOCK_SUPPORTED "Enable scalar block layout support." ON)
IF (VKVG_VK_SCALAR_BLOCK_SUPPORTED)
ADD_DEFINITIONS (-DVKVG_VK_SCALAR_BLOCK_SUPPORTED)
ENDIF ()