mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 00:02:52 +08:00
Link statedetection statically on Windows.
This commit is contained in:
@@ -7,8 +7,11 @@ set(statedetector_source_files
|
|||||||
state_detector_impl.cpp
|
state_detector_impl.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
add_library(statedetection SHARED ${statedetector_source_files} )
|
add_library(statedetection STATIC ${statedetector_source_files} )
|
||||||
|
ELSE()
|
||||||
|
add_library(statedetection SHARED ${statedetector_source_files} )
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
set_target_properties(statedetection PROPERTIES SOVERSION ${OPENALPR_MAJOR_VERSION})
|
set_target_properties(statedetection PROPERTIES SOVERSION ${OPENALPR_MAJOR_VERSION})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user