Update directx shader compiler (#1872)
* update directx shader compiler * add linux support * fix windows install * fix clang build * fix typo * fix typo * pass compiling on linux * fix cmake deps * fix typo * add cmake dep * add ninjia * add go binding patch for v1.7.22.12 * remove build shared flags * add configspull/1884/head
parent
498baa7cf8
commit
191d73161e
2 changed files with 62 additions and 6 deletions
@ -0,0 +1,22 @@ |
||||
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
|
||||
index f58d48253..10733561e 100644
|
||||
--- a/cmake/config-ix.cmake
|
||||
+++ b/cmake/config-ix.cmake
|
||||
@@ -519,7 +519,7 @@ else()
|
||||
find_program(GO_EXECUTABLE NAMES go DOC "go executable")
|
||||
if(GO_EXECUTABLE STREQUAL "GO_EXECUTABLE-NOTFOUND")
|
||||
message(STATUS "Go bindings disabled.")
|
||||
- else()
|
||||
+ elseif(EXISTS ${CMAKE_SOURCE_DIR}/bindings/go/conftest.go)
|
||||
execute_process(COMMAND ${GO_EXECUTABLE} run ${CMAKE_SOURCE_DIR}/bindings/go/conftest.go
|
||||
RESULT_VARIABLE GO_CONFTEST)
|
||||
if(GO_CONFTEST STREQUAL "0")
|
||||
@@ -528,6 +528,8 @@ else()
|
||||
else()
|
||||
message(STATUS "Go bindings disabled, need at least Go 1.2.")
|
||||
endif()
|
||||
+ else()
|
||||
+ message(STATUS "Missing ${CMAKE_SOURCE_DIR}/bindings/go/conftest.go, Go bindings disabled.")
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in new issue