mirror of https://github.com/opencardev/aasdk
Support installation
parent
f01d90a692
commit
4486455f17
|
@ -77,6 +77,9 @@ target_link_libraries(aasdk
|
|||
${OPENSSL_LIBRARIES}
|
||||
${WINSOCK2_LIBRARIES})
|
||||
|
||||
install(TARGETS aasdk DESTINATION lib)
|
||||
install(DIRECTORY include/f1x DESTINATION include)
|
||||
|
||||
if(AASDK_TEST)
|
||||
add_executable(aasdk_ut
|
||||
${tests_source_files}
|
||||
|
|
|
@ -7,3 +7,7 @@ protobuf_generate_cpp(proto_sources proto_headers ${proto_files})
|
|||
add_library(aasdk_proto SHARED ${proto_headers} ${proto_sources})
|
||||
target_link_libraries(aasdk_proto ${PROTOBUF_LIBRARIES})
|
||||
|
||||
install(TARGETS aasdk_proto DESTINATION lib)
|
||||
install(DIRECTORY . DESTINATION include/aasdk_proto
|
||||
FILES_MATCHING PATTERN *.h
|
||||
PATTERN CMakeFiles EXCLUDE )
|
||||
|
|
Loading…
Reference in New Issue