Skip to content

Commit 92839ac

Browse files
committed
Always include DaemonVulkan.cmake
Fixes having to do configure twice to get Daemon-vulkan options.
1 parent 7b11c6e commit 92839ac

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ endif()
7878
include(DaemonSourceGenerator)
7979
include(DaemonPlatform)
8080

81+
include( DaemonVulkan )
82+
8183
################################################################################
8284
# Configuration options
8385
################################################################################
@@ -529,7 +531,6 @@ endif()
529531
if (USE_VULKAN)
530532
add_definitions("-DDAEMON_RENDERER_VULKAN=1")
531533
add_definitions("-DVK_NO_PROTOTYPES=1")
532-
include(DaemonVulkan)
533534
else()
534535
add_definitions("-DDAEMON_RENDERER_OPENGL=1")
535536

0 commit comments

Comments
 (0)