Move add_subdirectory for shaders and VmaReplay to the end of the file
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 387c26d..1a56ddd 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,11 +1,3 @@
-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 @@
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()