Skip to content

Commit

Permalink
{cmake} assimp requires cmake >= 3.22
Browse files Browse the repository at this point in the history
This just means that instead of getting an error related to assimp, you'll get one related to this plugin which should be clearer.

Part of #9
  • Loading branch information
asmaloney committed Jun 14, 2024
1 parent 932f749 commit 2c9147a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
option( PLUGIN-3rdParty_MESH_IO "Install the MeshIO plugin" OFF )

if ( PLUGIN-3rdParty_MESH_IO )
# assimp requires at least 3.22, so put it here so it's obivous where it's coming from
CMAKE_MINIMUM_REQUIRED( VERSION 3.22 )

project( MeshIO )

AddPlugin( NAME ${PROJECT_NAME} TYPE io )
Expand Down

0 comments on commit 2c9147a

Please sign in to comment.