From b13494a192699fedebd20c60793eb96fd161ffe1 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 26 Jun 2023 14:37:35 +0200 Subject: [PATCH] build: Try fixing Fedora build --- .github/workflows/build.yml | 2 -- cmake/build_helpers.cmake | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ac2e2da3..3d6a890ca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -570,8 +570,6 @@ jobs: # Fedora cmake build (in imhex.spec) - name: 📦 Build RPM - env: - QA_RPATHS: 18 run: | fedpkg --path $GITHUB_WORKSPACE --release ${{ matrix.mock_release }} mockbuild --enable-network -N --root $GITHUB_WORKSPACE/mock.cfg extra_args -- -v diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index d29a1bdb8..4f1c24ab4 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -412,7 +412,7 @@ macro(addBundledLibraries) set(EXTERN_LIBS_FOLDER "${CMAKE_CURRENT_SOURCE_DIR}/lib/external") - set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build shared libraries") + set(BUILD_SHARED_LIBS ON CACHE BOOL "Build shared libraries") add_subdirectory(${EXTERN_LIBS_FOLDER}/imgui) set_target_properties(imgui PROPERTIES POSITION_INDEPENDENT_CODE ON)