From af3afca658211fa2c7425a912e0006886dac9557 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Thu, 24 Aug 2023 13:25:37 +0300 Subject: [PATCH] - fixed game sources variable in CMake CMake Error at src/CMakeLists.txt:1233 (add_executable): No SOURCES given to target: zdoom --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cc4fafb5ae..8ecc719aac 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1230,7 +1230,7 @@ set( GAME_SOURCES set( GAME_NONPCH_SOURCES ${GAME_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 )