RMDarth / Chewman-Vulkan

Chewman is a 3D pacman-style game written in C++ using Vulkan SDK and SDL
MIT License
64 stars 3 forks source link

CMake warning for assimp #6

Open physkets opened 4 years ago

physkets commented 4 years ago

I get the following warning during build:

CMake Warning (dev) at /usr/lib64/cmake/assimp-5.0/assimpTargets.cmake:54 (if):
  if given arguments:

    "ON"

  An argument named "ON" appears in a conditional statement.  Policy CMP0012
  is not set: if() recognizes numbers and boolean constants.  Run "cmake
  --help-policy CMP0012" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
Call Stack (most recent call first):
  /usr/lib64/cmake/assimp-5.0/assimp-config.cmake:1 (include)
  CMakeLists.txt:262 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
RMDarth commented 4 years ago

I'm actually using assimp 4.1 for the build, it was the latest one when I started, and I never bothered to update. I'll probably need to add some more dependencies description for the repository.

I do have precompiled linux dependencies and some 3rd party include files added as an archive to the 1.0 release. I'll probably need to add android ones too.