File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -62,31 +62,43 @@ add_executable(flspo main.cpp read.cpp read.h common.h write.cpp write.h error.h
62
62
63
63
###################
64
64
# Link dependencies
65
+
65
66
target_link_libraries (flspo nowide)
66
67
67
68
################
68
69
# Package as zip
69
70
70
- set (CPACK_RESOURCE_FILE_COPYING "${CMAKE_SOURCE_DIR} /COPYING" )
71
71
set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR} /LICENSE" )
72
72
set (CPACK_RESOURCE_FILE_README "${CMAKE_SOURCE_DIR} /README.md" )
73
73
install (
74
74
FILES
75
- ${CPACK_RESOURCE_FILE_COPYING}
75
+ " ${CMAKE_SOURCE_DIR} /COPYING"
76
76
${CPACK_RESOURCE_FILE_LICENSE}
77
77
${CPACK_RESOURCE_FILE_README}
78
78
DESTINATION
79
79
.
80
80
)
81
+
82
+ include (CPackComponent)
83
+ cpack_add_component(
84
+ flspo
85
+ DISPLAY_NAME "FL Studio Plugin Organizer"
86
+ REQUIRED
87
+ )
88
+
81
89
install (
82
90
TARGETS
83
91
flspo
84
92
RUNTIME
85
93
DESTINATION
86
94
.
95
+ COMPONENT
96
+ flspo
87
97
)
98
+
88
99
set (CPACK_BINARY_NSIS "OFF" )
89
100
set (CPACK_BINARY_ZIP "ON" )
90
101
set (CPACK_PACKAGE_NAME "flspo" )
91
102
set (CPACK_PACKAGE_VENDOR "Laurence Dougal Myers" )
103
+
92
104
include (CPack)
You can’t perform that action at this time.
0 commit comments