Browse Source

fix #1701, #1697 (#1702)

* fix #1701, #1697

* Update CMakeLists.txt
tags/20200616
雾雨魔理沙 GitHub 6 years ago
parent
commit
e49a9ec736
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/CMakeLists.txt

+ 1
- 1
src/CMakeLists.txt View File

@@ -46,7 +46,7 @@ if(ANDROID)
list(APPEND ncnn_SRCS mat_pixel_android.cpp)
endif()

include(${CMAKE_SOURCE_DIR}/cmake/ncnn_generate_shader_spv_header.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/../cmake/ncnn_generate_shader_spv_header.cmake)

macro(ncnn_add_shader SHADER_SRC)
ncnn_generate_shader_spv_header(SHADER_SPV_HEADER SHADER_SPV_HEX_HEADERS ${SHADER_SRC})


Loading…
Cancel
Save