File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,8 @@ include(SourceFiles.cmake)
131131# Separate sources into library and executable components
132132set (LIBRARY_SOURCES ${MAIN_SOURCES} )
133133list (REMOVE_ITEM LIBRARY_SOURCES "Source/CommonFramework/Main.cpp" )
134- set (EXECUTABLE_SOURCES "Source/CommonFramework/Main.cpp" )
134+ # the executable needs the dark style format file
135+ set (EXECUTABLE_SOURCES "Source/CommonFramework/Main.cpp" "../3rdParty/qdarkstyle/dark/darkstyle.qrc" )
135136
136137# Organize source files in IDE project view
137138source_group (TREE ${CMAKE_CURRENT_SOURCE_DIR} /../../ FILES ${LIBRARY_SOURCES} )
@@ -140,6 +141,7 @@ source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR}/../../ FILES ${EXECUTABLE_SOURCES}
140141# Create library target first
141142add_library (SerialProgramsLib STATIC ${LIBRARY_SOURCES} )
142143
144+ # Create binary target
143145if (APPLE )
144146 set (SerialPrograms_ICON ${CMAKE_CURRENT_SOURCE_DIR} /../IconResource/icon.icns)
145147 # set_source_files_properties(SerialPrograms_ICON PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")
You can’t perform that action at this time.
0 commit comments