- fixed game sources variable in CMake

CMake Error at src/CMakeLists.txt:1233 (add_executable): No SOURCES given to target: zdoom
This commit is contained in:
alexey.lysiuk 2023-08-24 13:25:37 +03:00
parent e0b3bdaadc
commit af3afca658

View file

@ -1230,7 +1230,7 @@ set( GAME_SOURCES
set( GAME_NONPCH_SOURCES ${GAME_SOURCES} ) set( GAME_NONPCH_SOURCES ${GAME_SOURCES} )
list( REMOVE_ITEM GAME_NONPCH_SOURCES ${PCH_SOURCES} ) list( REMOVE_ITEM GAME_NONPCH_SOURCES ${PCH_SOURCES} )
add_executable( zdoom WIN32 MACOSX_BUNDLE ${ZDOOM_SOURCES} ) add_executable( zdoom WIN32 MACOSX_BUNDLE ${GAME_SOURCES} )
target_precompile_headers( zdoom PRIVATE g_pch.h ) target_precompile_headers( zdoom PRIVATE g_pch.h )