We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd1a80d commit b22af8cCopy full SHA for b22af8c
cmake/onednn.cmake
@@ -18,9 +18,10 @@ if (NOT DEFINED GC_DNNL_INCLUDES)
18
# This allows to generate headers from *.in without adding the library to the build.
19
# If the build is required, remove this and the SKIP_ADD option above.
20
if (DEFINED CMAKE_GENERATOR)
21
- set(GENERATOR_FLAG "-G ${CMAKE_GENERATOR}")
+ set(GENERATOR_OPTION "-G")
22
+ set(GENERATOR_FLAG "${CMAKE_GENERATOR}")
23
endif ()
- execute_process(COMMAND ${CMAKE_COMMAND} ${GENERATOR_FLAG}
24
+ execute_process(COMMAND ${CMAKE_COMMAND} ${GENERATOR_OPTION} ${GENERATOR_FLAG}
25
-Wno-dev
26
-S ${dnnl_SOURCE_DIR}
27
-B ${dnnl_BINARY_DIR}
0 commit comments