Permalink
Browse files

Add ONNCConfig.cmake.in.

  • Loading branch information...
lubatang committed Dec 4, 2018
1 parent 11a5a54 commit 0f3fc4845182ddfa0dbc667582b2519551dac90f
Showing with 7 additions and 0 deletions.
  1. +1 −0 CMakeLists.txt
  2. +5 −0 cmake/ONNCConfig.cmake.in
  3. +1 −0 configure.ac
@@ -131,3 +131,4 @@ configure_file(include/onnc/Config/Config.h.cmake.in include/onnc/Config/Config.
configure_file(include/onnc/Config/ONNX.h.in include/onnc/Config/ONNX.h @ONLY)
configure_file(include/onnc/Config/Platforms.def.in include/onnc/Config/Platforms.def @ONLY)
configure_file(include/onnc/Config/Backends.def.in include/onnc/Config/Backends.def @ONLY)
configure_file(cmake/ONNCConfig.cmake.in cmake/ONNCConfig.cmake @ONLY)
@@ -0,0 +1,5 @@
# This file provides information and services to the final user.

set(ONNC_INCLUDE_DIRS "@LIBONNC_INCLUDES@")
set(ONNC_LDFLAGS "@LIBONNC_LIBS@")
set(ONNC_LIBRARY_DIR "@LIBONNC_LIBS@")
@@ -100,5 +100,6 @@ AC_CONFIG_FILES([tools/onnc/Makefile])
AC_CONFIG_FILES([tools/readonnx/Makefile])
AC_CONFIG_FILES([tools/onnc-jit/Makefile])
AC_CONFIG_FILES([tools/onni/Makefile])
AC_CONFIG_FILES([cmake/ONNCConfig.cmake])

AC_OUTPUT

0 comments on commit 0f3fc48

Please sign in to comment.