Browse Source

Bugfix: Copy Mono files to binary folder on build

BearishSun 6 years ago
parent
commit
d721b2e451
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Source/Banshee3D/CMakeLists.txt

+ 5 - 1
Source/Banshee3D/CMakeLists.txt

@@ -31,4 +31,8 @@ if(MSVC)
 endif()
 
 # Make sure `bsf` dlls are copied to our folders
-install_dll_on_build(Banshee3D ${BSF_DIRECTORY})
+install_dll_on_build(Banshee3D ${BSF_DIRECTORY})
+
+# Make sure 'mono' dlls and other files are copied to our folders
+install_dll_on_build(Banshee3D ${BSF_SOURCE_DIR}/../Dependencies/mono)
+copy_folder_on_build(Banshee3D ${BSF_SOURCE_DIR}/../Dependencies/mono ${PROJECT_BINARY_DIR} bin/Mono "*.*")