fix missing icon in executable

the Ja2.rc file needs to be in the add_executable target for the icon
to appear, and that one requires WinMain.

so get rid of dummy.cpp and put sgp/sgp.cpp in there
This commit is contained in:
Marco Antonio J. Costa
2025-01-02 08:02:52 -03:00
committed by majcosta
parent a7b0091a27
commit b908bcecb9
4 changed files with 4 additions and 6 deletions
-1
View File
@@ -34,5 +34,4 @@ set(Ja2Src
"${CMAKE_CURRENT_SOURCE_DIR}/XML_DifficultySettings.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/XML_IntroFiles.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/XML_Layout_MainMenu.cpp"
${CMAKE_CURRENT_SOURCE_DIR}/Res/ja2.rc
PARENT_SCOPE)