diff --git a/projects/vkworld/CMakeLists.txt b/projects/vkworld/CMakeLists.txt index 9219a78..642691d 100644 --- a/projects/vkworld/CMakeLists.txt +++ b/projects/vkworld/CMakeLists.txt @@ -11,6 +11,8 @@ if (${WORLD_BUILD_VULKAN_MODULES}) rclib_include_directory(shaderlib) add_subdirectory(shaders/) + + # TODO add vkworld to install else() message(STATUS "Cannot build Vulkan modules : Missign dependencies (Vulkan)") endif() diff --git a/tests/mem_test.cpp b/tests/mem_test.cpp index 5bafe90..a8eca1d 100644 --- a/tests/mem_test.cpp +++ b/tests/mem_test.cpp @@ -17,7 +17,9 @@ void generate_test_world(int argc, char **argv); int main(int argc, char **argv) { generate_test_world(argc, argv); } void generate_test_world(int argc, char **argv) { +#ifdef USE_VKWORLD VkWorld::loadLibrary(); +#endif int itcount = 5; bool land = true; diff --git a/tests/test_world.cpp b/tests/test_world.cpp index e6b6c53..a5ee00f 100644 --- a/tests/test_world.cpp +++ b/tests/test_world.cpp @@ -50,7 +50,7 @@ FlatWorld *createWorld() { ground.addWorker(1); auto &chunkSystem = world->addPrimaryNode({0, 0, 0}); - chunkSystem.addDecorator(world); + chunkSystem.addDecorator(); return world; }