mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 13:40:55 +08:00
Added CMakeLists.txt for Java binding
This commit is contained in:
23
src/bindings/java/CMakeLists.txt
Normal file
23
src/bindings/java/CMakeLists.txt
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
cmake_minimum_required (VERSION 2.6)
|
||||||
|
|
||||||
|
|
||||||
|
find_package(JNI REQUIRED)
|
||||||
|
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
../../openalpr/
|
||||||
|
${JAVA_INCLUDE_PATH}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
set(jni_source_files
|
||||||
|
openalprjni.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
add_library(openalprjni SHARED ${jni_source_files})
|
||||||
|
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(openalprjni openalpr)
|
||||||
|
|
Reference in New Issue
Block a user