mirror of
				https://github.com/PaddlePaddle/FastDeploy.git
				synced 2025-10-31 20:02:53 +08:00 
			
		
		
		
	 6343b0db47
			
		
	
	6343b0db47
	
	
	
		
			
			* Add notes for tensors * Optimize some apis * move some warnings * Support build with Paddle2ONNX * Add protobuf support * Fix compile on mac * add clearn package script * Add paddle2onnx code * remove submodule * Add onnx ocde * remove softlink * add onnx code * fix error * Add cmake file * fix patchelf * update paddle2onnx * Delete .gitmodules --------- Co-authored-by: PaddleCI <paddle_ci@example.com> Co-authored-by: pangyoki <pangyoki@126.com> Co-authored-by: jiangjiajun <jiangjiajun@baidu.lcom>
		
			
				
	
	
		
			25 lines
		
	
	
		
			1001 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			1001 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| # - Config file for the ONNX Optimizer package
 | |
| # It defines the following variable(s)
 | |
| #   ONNX_OPTIMIZER_INCLUDE_DIRS     - include directories for onnx optimizer
 | |
| # as well as ONNX Optimizer targets for other cmake libraries to use.
 | |
| 
 | |
| # library version information
 | |
| set(ONNX_OPTIMIZER_VERSION "@ONNX_OPTIMIZER_VERSION@")
 | |
| 
 | |
| # import targets
 | |
| include ("${CMAKE_CURRENT_LIST_DIR}/ONNXOptimizerTargets.cmake")
 | |
| 
 | |
| # include directory.
 | |
| #
 | |
| # Newer versions of CMake set the INTERFACE_INCLUDE_DIRECTORIES property
 | |
| # of the imported targets. It is hence not necessary to add this path
 | |
| # manually to the include search path for targets which link to gflags.
 | |
| # The following lines are here for backward compatibility, in case one
 | |
| # would like to use the old-style include path.
 | |
| get_filename_component(
 | |
|     CMAKE_CURRENT_LIST_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
 | |
| get_filename_component(
 | |
|     _INSTALL_PREFIX "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
 | |
| set(ONNX_OPTIMIZER_INCLUDE_DIRS "${_INSTALL_PREFIX}/include")
 | |
| 
 |