Browse Source
fix soversion
Signed-off-by: crueter <crueter@eden-emu.dev>
update-cpmutil
crueter
3 days ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
2 changed files with
10 additions and
0 deletions
-
src/dynarmic/CMakeLists.txt
-
src/dynarmic/src/dynarmic/CMakeLists.txt
|
|
|
@ -3,6 +3,12 @@ |
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.12) |
|
|
|
|
|
|
|
set(dynarmic_VERSION_MAJOR 7) |
|
|
|
set(dynarmic_VERSION_MINOR 0) |
|
|
|
set(dynarmic_VERSION_PATCH 0) |
|
|
|
|
|
|
|
set(dynarmic_VERSION ${dynarmic_VERSION_MAJOR}.${dynarmic_VERSION_MINOR}.${dynarmic_VERSION_PATCH}) |
|
|
|
|
|
|
|
# Determine if we're built as a subproject (using add_subdirectory) |
|
|
|
# or if this is the master project. |
|
|
|
set(MASTER_PROJECT OFF) |
|
|
|
|
|
|
|
@ -351,6 +351,10 @@ target_include_directories(dynarmic PUBLIC |
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..> |
|
|
|
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}> |
|
|
|
) |
|
|
|
set_target_properties(dynarmic PROPERTIES |
|
|
|
VERSION ${dynarmic_VERSION} |
|
|
|
SOVERSION ${dynarmic_VERSION_MAJOR}.${dynarmic_VERSION_MINOR} |
|
|
|
) |
|
|
|
|
|
|
|
if (TARGET unordered_dense::unordered_dense) |
|
|
|
# weird quirk of system installs |
|
|
|
|