Commit 7f7f425f authored by Sergey Shalnov's avatar Sergey Shalnov Committed by Scott Cyphers

IntelGPU backend: fix online build (#2323)

* IntelGPU backend: fix online build

* PR2323. Comments addressed

* Update external_cldnn.cmake

* Update CMakeLists.txt
parent 8492e5c1
...@@ -84,16 +84,13 @@ set(NGRAPH_FORWARD_CMAKE_ARGS ...@@ -84,16 +84,13 @@ set(NGRAPH_FORWARD_CMAKE_ARGS
if (NOT MSVS) if (NOT MSVS)
if(NOT CMAKE_BUILD_TYPE) if(NOT CMAKE_BUILD_TYPE)
set(NGRAPH_FORWARD_CMAKE_ARGS set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build type" FORCE)
${NGRAPH_FORWARD_CMAKE_ARGS}
-DCMAKE_BUILD_TYPE=Release
)
else()
set(NGRAPH_FORWARD_CMAKE_ARGS
${NGRAPH_FORWARD_CMAKE_ARGS}
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
)
endif() endif()
set(NGRAPH_FORWARD_CMAKE_ARGS
${NGRAPH_FORWARD_CMAKE_ARGS}
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
)
endif() endif()
message(STATUS "NGRAPH_FORWARD_CMAKE_ARGS ${NGRAPH_FORWARD_CMAKE_ARGS}") message(STATUS "NGRAPH_FORWARD_CMAKE_ARGS ${NGRAPH_FORWARD_CMAKE_ARGS}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment