Skip to content

Commit

Permalink
ci: fixed flatpak build
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Dec 15, 2023
1 parent 39c3d36 commit cfb0b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ set(CMAKE_C_FLAGS_RELEASE "-O3 -pipe")
set(CMAKE_C_FLAGS_DEBUG "-Og -g -rdynamic -funwind-tables -DDEBUG -Wl,--export-dynamic -pipe")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
set(CMAKE_EXE_LINKER_FLAGS "-no-pie -fuse-ld=gold -Wl,--gc-sections -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed")
set(CMAKE_ASM_COMPILER "${CMAKE_C_COMPILER}")
set(CMAKE_ASM_COMPILER_ARG1 "${CMAKE_C_COMPILER_ARG1}")

Expand Down Expand Up @@ -369,6 +368,7 @@ find_library(PORTMIDI_LIBRARIES portmidi REQUIRED)
add_subdirectory(external/libguisan)
target_include_directories(${PROJECT_NAME} PRIVATE ${SDL2_INCLUDE_DIRS} ./external/libguisan/include ./external/mt32emu/src)
TARGET_LINK_LIBRARIES(${PROJECT_NAME} PRIVATE SDL2 SDL2_image SDL2_ttf guisan mt32emu ${DBUS_LIBRARIES} FLAC portmidi png mpg123 mpeg2convert mpeg2 serialport z)
target_link_options(${PROJECT_NAME} PRIVATE "LINKER:-as-needed,-no-pie")

if (USE_OPENGL)
add_definitions(-DUSE_OPENGL)
Expand Down

0 comments on commit cfb0b6d

Please sign in to comment.