update pkg config patch
This commit is contained in:
parent
e3006ef1ae
commit
59020e0737
@ -158,10 +158,10 @@ diff -up glslang-sdk-1.3.261.1/StandAlone/CMakeLists.txt.dma glslang-sdk-1.3.261
|
|||||||
|
|
||||||
+if(BUILD_SHARED_LIBS)
|
+if(BUILD_SHARED_LIBS)
|
||||||
+ set(LIBRARIES ${LIBRARIES} ${SPIRV_TOOLS_SHARED_LIBRARIES})
|
+ set(LIBRARIES ${LIBRARIES} ${SPIRV_TOOLS_SHARED_LIBRARIES})
|
||||||
+ target_include_directories(glslangValidator PUBLIC ${SPIRV_TOOLS_SHARED_INCLUDE_DIRS})
|
+ target_include_directories(glslang-standalone PUBLIC ${SPIRV_TOOLS_SHARED_INCLUDE_DIRS})
|
||||||
+else()
|
+else()
|
||||||
+ set(LIBRARIES ${LIBRARIES} ${SPIRV_TOOLS_LIBRARIES})
|
+ set(LIBRARIES ${LIBRARIES} ${SPIRV_TOOLS_LIBRARIES})
|
||||||
+ target_include_directories(glslangValidator PUBLIC ${SPIRV_TOOLS_INCLUDE_DIRS})
|
+ target_include_directories(glslang-standalone PUBLIC ${SPIRV_TOOLS_INCLUDE_DIRS})
|
||||||
+endif(BUILD_SHARED_LIBS)
|
+endif(BUILD_SHARED_LIBS)
|
||||||
+
|
+
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
Loading…
Reference in New Issue
Block a user