From 80d95a5cc58b8d6486d376e1d12c90e52e97dc1a Mon Sep 17 00:00:00 2001 From: floralrainfall Date: Fri, 14 Jul 2023 18:58:06 -0400 Subject: [PATCH] possibly fix thing --- Content/win32_plugins.cfg | 2 +- Projects/Engine/CMakeLists.txt | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/Content/win32_plugins.cfg b/Content/win32_plugins.cfg index 20178ba..5ee47a6 100644 --- a/Content/win32_plugins.cfg +++ b/Content/win32_plugins.cfg @@ -1,7 +1,7 @@ # Defines plugins to load # Define plugin folder -PluginFolder=plugins +PluginFolder=. # Define plugins Plugin=RenderSystem_Direct3D9 diff --git a/Projects/Engine/CMakeLists.txt b/Projects/Engine/CMakeLists.txt index 8dd13eb..014e8f0 100644 --- a/Projects/Engine/CMakeLists.txt +++ b/Projects/Engine/CMakeLists.txt @@ -37,14 +37,6 @@ add_library(Engine STATIC target_include_directories(Engine PUBLIC ${BOOST_INCLUDE_DIRS} Header/) target_link_libraries(Engine PUBLIC ${BOOST_LIBRARIES} OgreBites Luau.Analysis Luau.Ast Luau.Compiler Luau.VM) -if(WIN32 OR MINGW) - file(COPY ${CMAKE_SOURCE_DIR}/Content/win32_plugins.cfg DESTINATION ${CMAKE_BINARY_DIR}) - file(RENAME ${CMAKE_BINARY_DIR}/win32_plugins.cfg ${CMAKE_BINARY_DIR}/plugins.cfg) -elseif(UNIX) - file(COPY ${CMAKE_SOURCE_DIR}/Content/linux_plugins.cfg DESTINATION ${CMAKE_BINARY_DIR}) - file(RENAME ${CMAKE_BINARY_DIR}/linux_plugins.cfg ${CMAKE_BINARY_DIR}/plugins.cfg) -endif() - file(COPY ${CMAKE_SOURCE_DIR}/Content/RNR/ DESTINATION ${CMAKE_BINARY_DIR}/content) file(COPY ${OGRE_MEDIA_DIR}/Main/ DESTINATION ${CMAKE_BINARY_DIR}/shaders) file(COPY ${OGRE_MEDIA_DIR}/RTShaderLib/ DESTINATION ${CMAKE_BINARY_DIR}/shaders)