Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
chore(package): 更新CMakeList
Browse files Browse the repository at this point in the history
Author: ambition-echo
  • Loading branch information
ambition_echo committed Aug 9, 2022
1 parent aaf117e commit aaf187f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.8)

project(earth-wallpaper VERSION 0.1 LANGUAGES CXX)
project(earth-wallpaper LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

Expand Down Expand Up @@ -54,14 +54,6 @@ endif()

target_link_libraries(earth-wallpaper PRIVATE Qt${QT_VERSION_MAJOR}::Widgets)

set_target_properties(earth-wallpaper PROPERTIES
MACOSX_BUNDLE_GUI_IDENTIFIER my.example.com
MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
MACOSX_BUNDLE TRUE
WIN32_EXECUTABLE TRUE
)

file(COPY ${PROJECT_SOURCE_DIR}/scripts DESTINATION ${PROJECT_BINARY_DIR})
file(COPY ${PROJECT_SOURCE_DIR}/template DESTINATION ${PROJECT_BINARY_DIR})

Expand Down

0 comments on commit aaf187f

Please sign in to comment.