From 4dda28450f340b27c9b5a5111113b0537059d217 Mon Sep 17 00:00:00 2001 From: numzero Date: Sat, 25 Mar 2023 11:26:52 +0300 Subject: [PATCH] Provide sources as private to IRRVIDEOOBJ --- source/Irrlicht/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/Irrlicht/CMakeLists.txt b/source/Irrlicht/CMakeLists.txt index ad11dd4..6d87069 100644 --- a/source/Irrlicht/CMakeLists.txt +++ b/source/Irrlicht/CMakeLists.txt @@ -377,7 +377,7 @@ add_library(IRRVIDEOOBJ OBJECT ) if(USE_SDLGL) - target_sources(IRRVIDEOOBJ PUBLIC + target_sources(IRRVIDEOOBJ PRIVATE OpenGL/Driver.cpp OpenGL/ExtensionHandler.cpp OpenGL/FixedPipelineRenderer.cpp @@ -387,17 +387,17 @@ if(USE_SDLGL) endif() if(USE_SDLGL3) - target_sources(IRRVIDEOOBJ PUBLIC + target_sources(IRRVIDEOOBJ PRIVATE OpenGL3/Driver.cpp ) endif() if(USE_SDLGLES2) - target_sources(IRRVIDEOOBJ PUBLIC + target_sources(IRRVIDEOOBJ PRIVATE OpenGLES2/Driver.cpp ) else() - target_sources(IRRVIDEOOBJ PUBLIC + target_sources(IRRVIDEOOBJ PRIVATE COGLES2Driver.cpp COGLES2ExtensionHandler.cpp COGLES2FixedPipelineRenderer.cpp