mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
[duktape] Add VERSION and SOVERSION properties CMake build (#14666)
This commit is contained in:
parent
385a4607c6
commit
b6524c8363
@ -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)
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user