Skip to content

Commit

Permalink
Fix include path for vulkan.h
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed Jul 2, 2020
1 parent e9cea7a commit 8ced823
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -192,7 +192,7 @@ IF(BUILD_SHARED_LIBS)
ENDIF(BUILD_SHARED_LIBS)

TARGET_INCLUDE_DIRECTORIES(mojoshader PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../Vulkan-Headers/include/vulkan>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../Vulkan-Headers/include>
)

SET_SOURCE_FILES_PROPERTIES(
Expand Down
2 changes: 1 addition & 1 deletion mojoshader_vulkan.c
Expand Up @@ -12,7 +12,7 @@

#if SUPPORT_PROFILE_SPIRV

#include "vulkan.h"
#include "vulkan/vulkan.h"

#define VULKAN_INSTANCE_FUNCTION(ret, func, params) \
typedef ret (VKAPI_CALL *vkfntype_MOJOSHADER_##func) params;
Expand Down

0 comments on commit 8ced823

Please sign in to comment.