aboutsummaryrefslogtreecommitdiff
path: root/primedev/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'primedev/cmake')
-rw-r--r--primedev/cmake/Findsilver-bun.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/primedev/cmake/Findsilver-bun.cmake b/primedev/cmake/Findsilver-bun.cmake
new file mode 100644
index 00000000..fa445aba
--- /dev/null
+++ b/primedev/cmake/Findsilver-bun.cmake
@@ -0,0 +1,9 @@
+if(NOT silver-bun_FOUND)
+ check_init_submodule(${PROJECT_SOURCE_DIR}/primedev/thirdparty/silver-bun)
+
+ add_subdirectory(${PROJECT_SOURCE_DIR}/primedev/thirdparty/silver-bun silver-bun)
+ set(silver-bun_FOUND
+ 1
+ PARENT_SCOPE
+ )
+endif()