diff --git a/CMakeLists.txt b/CMakeLists.txt index 33e7535..d52826e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,5 +15,6 @@ add_compile_options(-Wno-attributes -Wno-return-type) # Ignore warnings generate find_package(Boost REQUIRED) find_package(OGRE REQUIRED COMPONENTS Bites CONFIG) +find_package(pugixml REQUIRED) add_subdirectory(Projects) \ No newline at end of file diff --git a/Projects/Engine/CMakeLists.txt b/Projects/Engine/CMakeLists.txt index 58e9803..644915a 100644 --- a/Projects/Engine/CMakeLists.txt +++ b/Projects/Engine/CMakeLists.txt @@ -48,7 +48,5 @@ add_library(Engine STATIC Source/Rendering/Adorn.cpp ) -find_package(pugixml REQUIRED) - target_include_directories(Engine PUBLIC ${BOOST_INCLUDE_DIRS} Header/) target_link_libraries(Engine PUBLIC ${BOOST_LIBRARIES} pugixml OgreBites Luau.Analysis Luau.Ast Luau.Compiler Luau.VM) \ No newline at end of file diff --git a/README.md b/README.md index 9ebfe02..38bef1e 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,8 @@ There are several goals that RNR seeks to accomplish, them being; # Building RNR uses [CMake](https://cmake.org/) as its build system and [GCC](https://gcc.gnu.org/) as its compiler. To build RNR, you must first have the following packages installed: - [Boost](https://www.boost.org/) -- [Ogre](https://github.com/OGRECave/ogre) +- [OGRE](https://github.com/OGRECave/ogre) +- [pugixml](https://github.com/zeux/pugixml) - [Qt 6](https://www.qt.io/product/qt6) (if building the player or studio projects) For Windows: