Commit 8cad99c2 authored by JZP's avatar JZP

add cmake install, default to /usr/lib

parent 5aaf06d4
...@@ -9,3 +9,4 @@ endif() ...@@ -9,3 +9,4 @@ endif()
FILE(GLOB OpenCVExtensions_SOURCES *.* ${ScreenCameraInfo_Source}) FILE(GLOB OpenCVExtensions_SOURCES *.* ${ScreenCameraInfo_Source})
ADD_LIBRARY(OpenCVExtensions SHARED ${OpenCVExtensions_SOURCES}) ADD_LIBRARY(OpenCVExtensions SHARED ${OpenCVExtensions_SOURCES})
TARGET_LINK_LIBRARIES(OpenCVExtensions ${OpenCV_LIBS}) TARGET_LINK_LIBRARIES(OpenCVExtensions ${OpenCV_LIBS})
install(TARGETS OpenCVExtensions DESTINATION /usr/lib)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment