Skip to content

Commit 537a527

Browse files
committed
Update development environment guide and improve Vulkan module configuration
- Fix typo in Antora documentation link to the introduction chapter. - Add `VULKAN_HPP_NO_STRUCT_CONSTRUCTORS` definition to VulkanCppModule for stricter Vulkan-HPP compliance.
1 parent e3e20c4 commit 537a527

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

en/02_Development_environment.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ your auto-start for your terminal and IDE setup such that those environment
7272
variables work everywhere.
7373

7474
If you receive an error message, then ensure that your drivers are up to date,
75-
include the Vulkan runtime and that your graphics card is supported. See the
75+
include the Vulkan runtime and that your graphics card is supported. See the
7676
xref:00_Introduction.adoc[introduction chapter] for links to drivers from the major
7777
vendors.
7878

@@ -129,8 +129,9 @@ find_package (Vulkan REQUIRED)
129129
add_library(VulkanCppModule)
130130
add_library(Vulkan::cppm ALIAS VulkanCppModule)
131131
132-
target_compile_definitions(VulkanCppModule
133-
PUBLIC VULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1
132+
ttarget_compile_definitions(VulkanCppModule PUBLIC
133+
VULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1
134+
VULKAN_HPP_NO_STRUCT_CONSTRUCTORS=1
134135
)
135136
target_include_directories(VulkanCppModule
136137
PRIVATE

0 commit comments

Comments
 (0)