diff --git a/src/nostalgia/modules/core/src/studio/CMakeLists.txt b/src/nostalgia/modules/core/src/studio/CMakeLists.txt index df7bfadb..8c5e9588 100644 --- a/src/nostalgia/modules/core/src/studio/CMakeLists.txt +++ b/src/nostalgia/modules/core/src/studio/CMakeLists.txt @@ -3,7 +3,6 @@ add_library(NostalgiaCore-Studio) add_library( NostalgiaCore-Studio-ImGui studiomodule.cpp - tilesheeteditor/tilesheeteditor-imgui.cpp ) target_link_libraries( @@ -15,7 +14,6 @@ target_link_libraries( target_link_libraries( NostalgiaCore-Studio-ImGui PUBLIC NostalgiaCore-Studio - Studio ) install( diff --git a/src/nostalgia/modules/core/src/studio/paletteeditor/CMakeLists.txt b/src/nostalgia/modules/core/src/studio/paletteeditor/CMakeLists.txt index 862d43fe..245c5e9a 100644 --- a/src/nostalgia/modules/core/src/studio/paletteeditor/CMakeLists.txt +++ b/src/nostalgia/modules/core/src/studio/paletteeditor/CMakeLists.txt @@ -9,5 +9,9 @@ target_sources( commands/renamepagecommand.cpp commands/updatecolorcommand.cpp commands/updatecolorinfocommand.cpp +) + +target_sources( + NostalgiaCore-Studio-ImGui PRIVATE paletteeditor-imgui.cpp ) diff --git a/src/nostalgia/modules/core/src/studio/tilesheeteditor/CMakeLists.txt b/src/nostalgia/modules/core/src/studio/tilesheeteditor/CMakeLists.txt index bc92afd0..01d3e67d 100644 --- a/src/nostalgia/modules/core/src/studio/tilesheeteditor/CMakeLists.txt +++ b/src/nostalgia/modules/core/src/studio/tilesheeteditor/CMakeLists.txt @@ -6,6 +6,11 @@ target_sources( tilesheetpixels.cpp ) +target_sources( + NostalgiaCore-Studio-ImGui PRIVATE + tilesheeteditor-imgui.cpp +) + target_link_libraries( NostalgiaCore-Studio-ImGui PUBLIC lodepng