Hello. I was trying to compile “Primitives example” on macOS. Magnum was installed from brew.
brew install mosra/magnum/corrade --HEAD
brew install mosra/magnum/magnum –HEAD
brew install morsa/magnum/magnum-plugins --HEAD
And I am getting this CMake error:
CMake Error at CMakeLists.txt:47 (add_executable):
Target "magnum-primitives" links to target "SDL2::SDL2" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
brew list:
assimp cminpack freetype glib icu4c libmodplug libvorbis octomap python@2 sdl2_image vtk
boost corrade gcc glm isl libmpc little-cms2 openssl qhull sdl2_mixer webp
boost-python devil gdbm gmp jasper libogg magnum pcre qt sdl2_ttf xz
bullet eigen gettext graphite2 jpeg libpng magnum-plugins pixman readline sip
cairo flann glew harfbuzz libffi libtiff mpfr pyqt sdl2 sqlite
cmake fontconfig glfw hdf5 libmikmod libusb netcdf python sdl2_gfx szip
brew info magnum
mosra/magnum/magnum: stable 2018.10, HEAD
C++11/C++14 graphics middleware for games and data visualization
https://magnum.graphics
/usr/local/Cellar/magnum/HEAD-11f6835 (358 files, 7.0MB) *
Built from source on 2019-02-03 at 22:33:38
From: https://github.com/mosra/homebrew-magnum/blob/master/Formula/magnum.rb
==> Dependencies
Required: cmake ✔, corrade ✔, sdl2 ✔, glfw ✔
==> Options
--HEAD
Install HEAD version
Hello. I was trying to compile “Primitives example” on macOS. Magnum was installed from brew.
And I am getting this CMake error:
brew list: