Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: actions/cache@v4
with:
path: build
key: ${{ hashFiles('CMakeLists.txt') }}
key: ${{ hashFiles('CMakeLists.txt','.github/workflows/check.yaml') }}
- name: build
shell: msys2 {0}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: actions/cache@v4
with:
path: build
key: ${{ hashFiles('CMakeLists.txt') }}
key: ${{ hashFiles('CMakeLists.txt','.github/workflows/release.yaml') }}
- name: build
shell: msys2 {0}
run: |
Expand Down
9 changes: 2 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.28)

project(cake LANGUAGES CXX)

set (CANDY_VERSION "6.0.1")
set (CANDY_VERSION "6.0.2")
set (CAKE_RELEASE "1")

set(CMAKE_AUTOUIC ON)
Expand Down Expand Up @@ -36,14 +36,9 @@ target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE Qt6::Widgets Qt6::Gui Qt6::C

set_target_properties(cake PROPERTIES
QT_TARGET_DESCRIPTION "Cake"
WIN32_EXECUTABLE TRUE
)

if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set_target_properties(cake PROPERTIES WIN32_EXECUTABLE FALSE)
else()
set_target_properties(cake PROPERTIES WIN32_EXECUTABLE TRUE)
endif()

include(FetchContent)
FetchContent_Declare(
candy
Expand Down