Skip to content

Commit

Permalink
add ONNX loader debug
Browse files Browse the repository at this point in the history
  • Loading branch information
okdshin committed Dec 27, 2018
1 parent afde7ac commit bef5433
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ configure_file(${EXTERNAL_DIR}/onnx-v1.3.0-patch_CMakeLists.txt ${EXTERNAL_DIR}/

set(BUILD_SHARED_LIBS_SAVED "${BUILD_SHARED_LIBS}")
set(BUILD_SHARED_LIBS OFF)
if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
add_definitions(-DONNXIFI_LOADER_LOGGING)
endif()
add_subdirectory(${EXTERNAL_DIR}/onnx EXCLUDE_FROM_ALL) # Note: BUILD_SHARED_LIBS must be OFF in this place
set(BUILD_SHARED_LIBS "${BUILD_SHARED_LIBS_SAVED}")

Expand Down

0 comments on commit bef5433

Please sign in to comment.