oprypin / crsfml

Crystal bindings to SFML multimedia/game library

Home Page:https://oprypin.github.io/crsfml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMAKE_MODULE_PATH on Ubuntu

lkdjiin opened this issue · comments

Just for your information:

  • Ubuntu 16.04.1 LTS
  • SFML 2.3.2

The path to FindSFML.cmake is /usr/share/SFML/cmake/Modules/FindSFML.cmake.

I had to add list(APPEND CMAKE_MODULE_PATH "/usr/share/SFML/cmake/Modules") to CMakeLists.txt to compile all the things.

Keep the good work 😄

It is exactly the same, /usr/share/SFML/cmake/Modules/FindSFML.cmake, on Arch Linux, so I thought it does not need to be specified.
Ubuntu is probably misconfigured 😐