collidoscopeio / Collidoscope

GNU General Public License v3.0
0 stars 0 forks source link

Missing package configuration file. #2

Open CosminPerRam opened 4 years ago

CosminPerRam commented 4 years ago

While building the CollidoscopeApp on MacOSX (after building Cinder), i get the following error:

CMake Error at /Users/macpiano/Desktop/Collidoscope/Cinder/proj/cmake/modules/cinderMakeApp.cmake:78 (find_package):
  Could not find a package configuration file provided by "cinder" with any
  of the following names:

cinderConfig.cmake
cinder-config.cmake

  Add the installation prefix of "cinder" to CMAKE_PREFIX_PATH or set
  "cinder_DIR" to a directory containing one of the above files.  If "cinder"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  CMakeLists.txt:60 (ci_make_app)

Which i fixed by adding: set(CMAKE_PREFIX_PATH "~/Desktop/Collidoscope/Cinder/proj/cmake/modules/") (builded as Release in my case) (absolute path for the sake of fixing the problem) to the line 75 of /Cinder/proj/cmake/modules/cinderMakeApp.cmake