Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: FindSFML.cmake and SFML_STATIC  (Read 1711 times)

0 Members and 1 Guest are viewing this topic.

blindley

  • Newbie
  • *
  • Posts: 12
    • View Profile
FindSFML.cmake and SFML_STATIC
« on: October 08, 2011, 02:30:24 am »
I finally got SFML 2.0 static libraries working.  I figured out from searches leading to some guy's blog that I needed to define SFML_STATIC.  First of all, is this accurate?  Or am I likely doing something wrong in my setup that makes this necessary?

And if this is necessary, don't you think FindSFML.cmake should do this for me if I set the CMake variable SFML_STATIC_LIBRARIES?

I guess that last part should go in feature requests or a bug report, but first I want to make sure I'm not doing something wrong.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
FindSFML.cmake and SFML_STATIC
« Reply #1 on: October 08, 2011, 10:25:23 am »
Quote
First of all, is this accurate?

Yes it is.

Quote
And if this is necessary, don't you think FindSFML.cmake should do this for me if I set the CMake variable SFML_STATIC_LIBRARIES?

Hmm yes, could be a good idea.
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
FindSFML.cmake and SFML_STATIC
« Reply #2 on: October 09, 2011, 11:21:27 am »
It's done ;)
Laurent Gomila - SFML developer