Skip to content

Commit

Permalink
Use Install target to run fixup_bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravbug committed Jan 1, 2024
1 parent 5e3b212 commit 79259f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
mkdir build && cd build
cmake -G "Xcode" ..
- name: Build
run: cmake --build build --target sdl-min --config Release
run: cmake --build build --target install --config Release

- name: Create DMG
run: |
Expand Down
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ cmake_minimum_required(VERSION 3.16)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/$<CONFIGURATION>)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/$<CONFIGURATION>)

# prevent installing to system directories.
set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR} CACHE INTERNAL "")

# Declare the project
project(sdl-min)

Expand Down

0 comments on commit 79259f8

Please sign in to comment.