mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[cmake] add executable versioning
optionally append API version to generated binaries
This commit is contained in:
@@ -26,6 +26,9 @@ set(SRCS
|
||||
rdtk_x11.c)
|
||||
|
||||
add_executable(${MODULE_NAME} ${SRCS})
|
||||
if (WITH_BINARY_VERSIONING)
|
||||
set_target_properties(${MODULE_NAME} PROPERTIES OUTPUT_NAME "${MODULE_NAME}${RDTK_API_VERSION}${CMAKE_EXECUTABLE_SUFFIX}")
|
||||
endif()
|
||||
|
||||
set(LIBS rdtk)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user