Merge pull request #31 from tpetazzoni/installation-rule
CMakeLists: add rules for installation
This commit is contained in:
commit
fa34227d26
@ -68,6 +68,10 @@ file(GLOB_RECURSE ZXING_FILES
|
|||||||
)
|
)
|
||||||
add_executable(zxing ${ZXING_FILES})
|
add_executable(zxing ${ZXING_FILES})
|
||||||
target_link_libraries(zxing libzxing)
|
target_link_libraries(zxing libzxing)
|
||||||
|
install(TARGETS zxing libzxing
|
||||||
|
LIBRARY DESTINATION lib
|
||||||
|
RUNTIME DESTINATION bin)
|
||||||
|
install(DIRECTORY core/src/zxing/ DESTINATION include/zxing FILES_MATCHING PATTERN "*.h")
|
||||||
|
|
||||||
# Add testrunner executable.
|
# Add testrunner executable.
|
||||||
find_package(CPPUNIT)
|
find_package(CPPUNIT)
|
||||||
|
Loading…
Reference in New Issue
Block a user