2021-12-28 16:49:40 +00:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2022-10-19 15:40:50 +00:00
|
|
|
index c453d23e..66b4aa24 100644
|
2021-12-28 16:49:40 +00:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2022-10-19 15:40:50 +00:00
|
|
|
@@ -478,6 +478,8 @@ if(NCNN_VULKAN)
|
|
|
|
|
|
|
|
find_package(Threads)
|
|
|
|
|
2021-12-28 16:49:40 +00:00
|
|
|
+ include("${GLSLANG_TARGET_DIR}/SPIRV-Tools/SPIRV-ToolsTarget.cmake")
|
|
|
|
+ include("${GLSLANG_TARGET_DIR}/SPIRV-Tools-opt/SPIRV-Tools-optTargets.cmake")
|
2022-10-19 15:40:50 +00:00
|
|
|
include("${GLSLANG_TARGET_DIR}/OSDependentTargets.cmake")
|
|
|
|
include("${GLSLANG_TARGET_DIR}/OGLCompilerTargets.cmake")
|
|
|
|
if(EXISTS "${GLSLANG_TARGET_DIR}/HLSLTargets.cmake")
|
|
|
|
diff --git a/src/ncnn.pc.in b/src/ncnn.pc.in
|
|
|
|
index b580fcee..be2becd0 100644
|
|
|
|
--- a/src/ncnn.pc.in
|
|
|
|
+++ b/src/ncnn.pc.in
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
prefix=${pcfiledir}/../..
|
|
|
|
-librarydir=${prefix}/@CMAKE_INSTALL_LIBDIR@
|
|
|
|
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
|
|
|
|
+librarydir=@CMAKE_INSTALL_FULL_LIBDIR@
|
|
|
|
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
|
|
|
|
|
|
|
Name: @CMAKE_PROJECT_NAME@
|
|
|
|
Description: high-performance neural network inference framework optimized for the mobile platform
|