Skip to content

Commit

Permalink
include version number in DLL name
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanielloNTIA committed Oct 31, 2024
1 parent d3575b3 commit 10ae752
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ endif ()
set_target_properties(
${LIB_NAME} PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR} # Include version in .so output filenames
SOVERSION ${PROJECT_VERSION} # Include version in .so output filenames
OUTPUT_NAME ${PROJECT_VERSION}
LIBRARY_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin"
ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin"
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin"
Expand Down

0 comments on commit 10ae752

Please sign in to comment.