Skip to content

Commit

Permalink
Revert "build: Use Vulkan::Headers target for include paths"
Browse files Browse the repository at this point in the history
This reverts commit f22cdac.
  • Loading branch information
lenny-lunarg committed Apr 23, 2019
1 parent 15d333f commit edc8fbe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions loader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,10 @@ if(WIN32)
add_dependencies(loader-norm generate_helper_files loader_gen_files)
target_compile_options(loader-norm PUBLIC "$<$<CONFIG:DEBUG>:${LOCAL_C_FLAGS_DBG}>")
target_compile_options(loader-norm PUBLIC ${MSVC_LOADER_COMPILE_OPTIONS})
target_link_libraries(loader-norm Vulkan::Headers)
target_include_directories(loader-norm PRIVATE "$<TARGET_PROPERTY:Vulkan::Headers,INTERFACE_INCLUDE_DIRECTORIES>")

add_library(loader-opt OBJECT ${OPT_LOADER_SRCS})
add_dependencies(loader-opt generate_helper_files loader_gen_files loader_asm_gen_files)
target_link_libraries(loader-opt Vulkan::Headers)
target_compile_options(loader-opt PUBLIC "$<$<CONFIG:DEBUG>:${LOCAL_C_FLAGS_REL}>")
target_compile_options(loader-opt PUBLIC ${MSVC_LOADER_COMPILE_OPTIONS})
target_include_directories(loader-opt PRIVATE "$<TARGET_PROPERTY:Vulkan::Headers,INTERFACE_INCLUDE_DIRECTORIES>")
Expand Down

0 comments on commit edc8fbe

Please sign in to comment.