diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 85ec313a6..64d77da16 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -99,6 +99,9 @@ if (WIN32) # Set Windows application icon target_sources(olive-editor PRIVATE packaging/windows/resources.rc) + # Preserve folder structure in visual studio + source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${OLIVE_SOURCES}) + elseif(APPLE) # Set Mac application icon set(OLIVE_ICON packaging/macos/olive.icns)