mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 19:52:50 +08:00
Building tests should be optional.
This commit is contained in:
@@ -31,6 +31,10 @@ if ( NOT DEFINED WITH_GPU_DETECTOR )
|
||||
SET(WITH_GPU_DETECTOR OFF)
|
||||
ENDIF()
|
||||
|
||||
if ( NOT DEFINED WITH_TESTS )
|
||||
SET(WITH_TESTS ON)
|
||||
ENDIF()
|
||||
|
||||
IF (WIN32 AND WITH_DAEMON)
|
||||
MESSAGE(WARNING "Skipping alprd daemon installation, as it is not supported in Windows.")
|
||||
SET(WITH_DAEMON OFF)
|
||||
@@ -105,7 +109,9 @@ IF (WITH_DAEMON)
|
||||
add_subdirectory(misc_utilities)
|
||||
ENDIF()
|
||||
|
||||
if (WITH_TESTS)
|
||||
add_subdirectory(tests)
|
||||
ENDIF()
|
||||
|
||||
add_subdirectory(openalpr)
|
||||
add_subdirectory(video)
|
||||
|
Reference in New Issue
Block a user