[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Updating ogre to 1.12.3 -> 1.12.4

On Fri, 10 Apr 2020 at 15:51:26 +0200, Simon Schmeisser wrote:
> Just a quick detail question, you changed it from
> find_package(SDL2 REQUIRED)
> to
> find_package(SDL2 REQUIRED CONFIG)
> but doesn't it fallback to CONFIG anyway? So simply deleting the
> FindSDL2.cmake should be enough?

My concern was that if there is a FindSDL2.cmake somewhere else in cmake's
search path, we'd accidentally use it - and then the build would fail,
because some of the variable names traditionally used in FindSDL2.cmake are
not quite the same as the ones you get with CONFIG.


Reply to: