Skip to content

Commit

Permalink
Do not install wxWidgets along with TreeSheets static build (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiolo authored Mar 14, 2024
1 parent bce62bd commit 4910f91
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ jobs:
run: cmake --build _build -j4
- name: install files
run: cmake --install _build
- name: remove unnecessary files
run: rm -rf TreeSheets-relocatable/include TreeSheets-relocatable/lib TreeSheets-relocatable/bin/wx*
- name: zip
run: zip -r linux_treesheets_${{ matrix.cxx }}.zip TreeSheets-relocatable
- name: upload build artifacts
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ OPTION(TREESHEETS_WITH_STATIC_WXWIDGETS "Build wxWidgets along with TreeSheets a

if (TREESHEETS_WITH_STATIC_WXWIDGETS)
set(wxBUILD_SHARED OFF)
set(wxBUILD_INSTALL OFF CACHE BOOL "Avoid install/uninstall target for wxWidgets in static build" FORCE)
add_subdirectory(lib/wxWidgets)
else()
find_package(wxWidgets REQUIRED aui adv core xml net)
Expand Down

0 comments on commit 4910f91

Please sign in to comment.