mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 09:36:51 +08:00
Added CMakeLists.txt for Python binding
This commit is contained in:
17
src/bindings/python/CMakeLists.txt
Normal file
17
src/bindings/python/CMakeLists.txt
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
|
||||||
|
cmake_minimum_required (VERSION 2.6)
|
||||||
|
|
||||||
|
|
||||||
|
include_directories(../../openalpr/)
|
||||||
|
|
||||||
|
|
||||||
|
set(python_source_files
|
||||||
|
openalprpy.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
add_library(openalprpy SHARED ${python_source_files})
|
||||||
|
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(openalprpy openalpr)
|
||||||
|
|
Reference in New Issue
Block a user