mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-05 19:46:52 +08:00
Set the proper value for runtime_dir in openalpr.conf, based on install prefix.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[common]
|
||||
|
||||
; Specify the path to the runtime data directory
|
||||
runtime_dir = /usr/share/openalpr/runtime_data
|
||||
runtime_dir = ${CMAKE_INSTALL_PREFIX}/share/openalpr/runtime_data
|
||||
|
||||
|
||||
ocr_img_size_percent = 1.33333333
|
||||
|
@@ -105,7 +105,7 @@ add_subdirectory(video)
|
||||
install (TARGETS alpr DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||
install (FILES ${CMAKE_SOURCE_DIR}/../doc/man/alpr.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1 COMPONENT doc)
|
||||
install (DIRECTORY ${CMAKE_SOURCE_DIR}/../runtime_data DESTINATION ${CMAKE_INSTALL_PREFIX}/share/openalpr)
|
||||
install (FILES ${CMAKE_SOURCE_DIR}/../config/openalpr.conf DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/openalpr COMPONENT config)
|
||||
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/../config/openalpr.conf ${CMAKE_INSTALL_SYSCONFDIR}/openalpr/openalpr.conf)
|
||||
|
||||
IF (WITH_DAEMON)
|
||||
install (TARGETS alprd DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||
|
Reference in New Issue
Block a user