projectM-visualizer / frontend-sdl-cpp

Standalone application based on libSDL that turns your desktop audio into awesome visuals. Available on most platforms supported by both libprojectM and libSDL.
GNU General Public License v3.0
66 stars 35 forks source link

updated cmake files #55

Closed 2talltech closed 1 year ago

2talltech commented 1 year ago

The SDL2 frontend would not build on my system. cmake complains:

CMake Error at CMakeLists.txt:27 (find_package):
  By not providing "FindlibprojectM.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "libprojectM", but CMake did not find one.

  Could not find a package configuration file provided by "libprojectM" with
  any of the following names:

    libprojectMConfig.cmake
    libprojectm-config.cmake

  Add the installation prefix of "libprojectM" to CMAKE_PREFIX_PATH or set
  "libprojectM_DIR" to a directory containing one of the above files.  If
  "libprojectM" provides a separate development package or SDK, be sure it
  has been installed.

I've updated several instances of libprojectM with projectM4 in the cmake files, and updated the source files.

Also, cmake install produces a binary that won't link with the system libprojectM4. I don't know how to fix that.

Thanks! I got this running now and it made my day!

kblaschke commented 1 year ago

Looks good, thanks!