Added windows icon file.
This commit is contained in:
+2
-2
@@ -39,9 +39,9 @@ find_package(ZLIB 1.2 REQUIRED)
|
||||
#=======================================
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
add_definitions (-std=c++11 -g)
|
||||
add_compile_options (-std=c++11 -g)
|
||||
if (NOT WIN32)
|
||||
add_definitions (-fPIC)
|
||||
add_compile_options (-fPIC)
|
||||
endif ()
|
||||
|
||||
|
||||
|
||||
@@ -153,11 +153,18 @@ qt5_wrap_cpp (glabels_moc_sources ${glabels_qobject_headers})
|
||||
qt5_wrap_ui (glabels_forms_headers ${glabels_forms})
|
||||
qt5_add_resources (glabels_qrc_sources ${glabels_resource_files})
|
||||
|
||||
if (WIN32)
|
||||
# Windows resource file
|
||||
set (glabels_win_rc glabels.rc)
|
||||
endif ()
|
||||
|
||||
|
||||
add_executable (glabels-qt
|
||||
${glabels_sources}
|
||||
${glabels_moc_sources}
|
||||
${glabels_qrc_sources}
|
||||
${glabels_forms_headers}
|
||||
${glabels_win_rc}
|
||||
)
|
||||
|
||||
target_link_libraries (glabels-qt
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
IDI_ICON1 ICON DISCARDABLE "windows-icon/glabels.ico"
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 282 KiB |
Reference in New Issue
Block a user