Skip to content

Commit

Permalink
conclude merge
Browse files Browse the repository at this point in the history
  • Loading branch information
niyatim23 committed Dec 6, 2023
2 parents 22f365e + c0b8f14 commit 533f0cd
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ include(Utilities)
project(KinesisVideoProducerCpp)

project(KinesisVideoProducerCpp VERSION 3.4.0)
include(GNUInstallDirs)

set(CMAKE_CXX_STANDARD 11)
include(GNUInstallDirs)

# User Flags
option(BUILD_GSTREAMER_PLUGIN "Build kvssink GStreamer plugin" OFF)
Expand Down Expand Up @@ -216,9 +216,17 @@ install(
if(BUILD_JNI)
find_package(JNI REQUIRED)
include_directories(${JNI_INCLUDE_DIRS})

install(
DIRECTORY ${KINESIS_VIDEO_PRODUCER_CPP_SRC}/src/JNI/include
DESTINATION .)
add_library(KinesisVideoProducerJNI SHARED ${JNI_HEADERS} ${JNI_SOURCE_FILES})
target_link_libraries(KinesisVideoProducerJNI kvspic)

install(
TARGETS KinesisVideoProducerJNI
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
endif()


Expand Down

0 comments on commit 533f0cd

Please sign in to comment.