diff --git a/src/dynarmic/CMakeLists.txt b/src/dynarmic/CMakeLists.txt index 6d19c4355a..00f58f0d63 100644 --- a/src/dynarmic/CMakeLists.txt +++ b/src/dynarmic/CMakeLists.txt @@ -2,7 +2,6 @@ # SPDX-License-Identifier: GPL-3.0-or-later cmake_minimum_required(VERSION 3.12) -project(dynarmic LANGUAGES C CXX ASM VERSION 6.7.0) # Determine if we're built as a subproject (using add_subdirectory) # or if this is the master project. @@ -46,7 +45,7 @@ if ("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}") endif() # Add the module directory to the list of paths -list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/CMakeModules") +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules") # Compiler flags if (MSVC) diff --git a/src/dynarmic/src/dynarmic/CMakeLists.txt b/src/dynarmic/src/dynarmic/CMakeLists.txt index 9575eaab6f..bf960e5168 100644 --- a/src/dynarmic/src/dynarmic/CMakeLists.txt +++ b/src/dynarmic/src/dynarmic/CMakeLists.txt @@ -351,10 +351,6 @@ target_include_directories(dynarmic PUBLIC $ $ ) -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