CMakeLists.txt
changeset 1271 5a67d082c55f
parent 1255 0135d797e287
child 1272 cddbd25553fe
--- a/CMakeLists.txt	Thu Jun 25 10:35:29 2020 -0400
+++ b/CMakeLists.txt	Wed Jul 01 04:29:09 2020 -0400
@@ -164,6 +164,7 @@
     mojoshader_opengl.c
     mojoshader_metal.c
     mojoshader_d3d11.c
+    mojoshader_vulkan.c
     profiles/mojoshader_profile_arb1.c
     profiles/mojoshader_profile_bytecode.c
     profiles/mojoshader_profile_d3d.c
@@ -190,6 +191,10 @@
     TARGET_LINK_LIBRARIES(mojoshader ${LIBM} ${LOBJC} ${CARBON_FRAMEWORK})
 ENDIF(BUILD_SHARED_LIBS)
 
+TARGET_INCLUDE_DIRECTORIES(mojoshader PUBLIC
+    $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../Vulkan-Headers/include/vulkan>
+)
+
 SET_SOURCE_FILES_PROPERTIES(
     mojoshader_compiler.c
     PROPERTIES OBJECT_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/mojoshader_parser_hlsl.h"