Spaces:
Build error
Build error
find_package (Threads REQUIRED) | |
find_program(GLSLC_EXECUTABLE glslc) | |
if(NOT GLSLC_EXECUTABLE) | |
message(FATAL_ERROR "glslc not found.") | |
endif() | |
set(TARGET vulkan-shaders-gen) | |
add_executable(${TARGET} vulkan-shaders-gen.cpp) | |
install(TARGETS ${TARGET} RUNTIME) | |
target_compile_features(${TARGET} PRIVATE cxx_std_17) | |
target_link_libraries(vulkan-shaders-gen PUBLIC Threads::Threads) | |