Move add_subdirectory for shaders and VmaReplay to the end of the file
-if(VMA_BUILD_EXAMPLE_APP_SHADERS)
- add_subdirectory(Shaders)
-endif()
-
-if(VMA_BUILD_REPLAY_APP)
- add_subdirectory(VmaReplay)
-endif()
-
set(VMA_LIBRARY_SOURCE_FILES
VmaUsage.cpp
)
@@ -79,3 +71,11 @@ if (VMA_BUILD_EXAMPLE_APP)
message(STATUS "VmaExample application is not supported to Linux")
endif()
endif()
+
+if(VMA_BUILD_EXAMPLE_APP_SHADERS)
+ add_subdirectory(Shaders)
+endif()
+
+if(VMA_BUILD_REPLAY_APP)
+ add_subdirectory(VmaReplay)
+endif()
