From 8e096fdcdcfa4f8db762dfb9a2b8dd4e29c78eea Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Wed, 4 Jun 2025 06:16:17 +0800 Subject: Exclude Windows from compiling llappviewerlinux That's why it was trying to find llwindowsdl.h, through llappviewerlinux.cpp. I had to scroll up a bit to find out that it was trying to compile llappviewerlinux.cpp. The last error message only complained about missing SDL/SDL.h (referred from llwindowsdl.h). --- indra/newview/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index e61bb26c7e..6657eee0b2 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1492,7 +1492,7 @@ if (DARWIN) list(APPEND viewer_SOURCE_FILES ${viewer_RESOURCE_FILES}) endif (DARWIN) -if (NOT DARWIN) +if (NOT (DARWIN OR WINDOWS)) LIST(APPEND viewer_SOURCE_FILES llappviewerlinux.cpp) set_source_files_properties( llappviewerlinux.cpp -- cgit v1.2.3