Skip to content

Commit 2ad394a

Browse files
authored
Merge pull request #91 from gpx1000/add-define-to-cmake-for-issue-87
Update development environment guide and improve Vulkan module config
2 parents 88e8cfa + 537a527 commit 2ad394a

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)