Skip to content

Commit

Permalink
[duktape] Add VERSION and SOVERSION properties CMake build (#14666)
Browse files Browse the repository at this point in the history
  • Loading branch information
LRFLEW authored Nov 25, 2020
1 parent 385a460 commit b6524c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ports/duktape/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ file(GLOB_RECURSE DUKTAPE_HEADERS "${CMAKE_CURRENT_LIST_DIR}/src/*.h")
add_library(duktape ${DUKTAPE_SOURCES} ${DUKTAPE_HEADERS})
target_include_directories(duktape PRIVATE "${CMAKE_CURRENT_LIST_DIR}/src")
set_target_properties(duktape PROPERTIES PUBLIC_HEADER "${DUKTAPE_HEADERS}")
set_target_properties(duktape PROPERTIES VERSION ${duktape_VERSION})
set_target_properties(duktape PROPERTIES SOVERSION ${duktape_MAJOR_VERSION})

if (BUILD_SHARED_LIBS)
target_compile_definitions(duktape PRIVATE -DDUK_F_DLL_BUILD)
Expand Down
1 change: 1 addition & 0 deletions ports/duktape/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Source: duktape
Version: 2.5.0
Port-Version: 1
Homepage: https://github.com/svaarala/duktape
Description: Embeddable Javascript engine with a focus on portability and compact footprint.

0 comments on commit b6524c8

Please sign in to comment.