Skip to content

Commit

Permalink
Merge pull request #29 from assimp/kimkulling/fix_vcpkg_build
Browse files Browse the repository at this point in the history
Kimkulling/fix vcpkg build
  • Loading branch information
kimkulling authored Aug 3, 2024
2 parents 732545a + 7032a1e commit ebd1efb
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
13 changes: 13 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": 3,
"configurePresets": [
{
"name": "default",
"binaryDir": "${sourceDir}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "contrib/osre/contrib/vcpkg/scripts/buildsystems/vcpkg.cmake"
}
}
]
}

2 changes: 1 addition & 1 deletion contrib/osre
Submodule osre updated 933 files
4 changes: 2 additions & 2 deletions src/ModelLoading.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ using namespace ::OSRE::Common;
using namespace ::OSRE::RenderBackend;

/// @brief The log-tag
static constexpr c8 Tag[] = "ModelLoadingApp";
static constexpr c8 Tag[] = "Assimp-Viewer";

//-------------------------------------------------------------------------------------------------
/// @ingroup Editor
Expand Down Expand Up @@ -185,7 +185,7 @@ class ModelLoadingApp : public App::AppBase {

int main(int argc, char *argv[]) {
ModelLoadingApp myApp(argc, argv);
if (!myApp.initWindow(10, 10, 1024, 768, "ModelLoader sample! Press o to import an Asset", false, false, App::RenderBackendType::OpenGLRenderBackend)) {
if (!myApp.initWindow(10, 10, 1024, 768, "Assimp-Vewer! Press o to import an Asset", false, false, App::RenderBackendType::OpenGLRenderBackend)) {
return 1;
}

Expand Down
6 changes: 6 additions & 0 deletions vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"dependencies": [
"glm",
"sdl2"
]
}

0 comments on commit ebd1efb

Please sign in to comment.