Re: [CMake] target_link_libraries issues

2013-05-31 Thread joza404
Rolf Eike Beer wrote > Even too complicated ;) I have no idea about this specific problems, but > some > general remarks. Thank you for the tips, I appreciate it :) Finally I solved the problem. There was no compatibility between x64 mingw and my x32 SDL libs, the solution (obviously) is to get

[CMake] target_link_libraries issues

2013-05-30 Thread joza404
Hello everyone, I just started using Cmake and I got a weird issue without a peep. Let's take a look a simplest-ever-seen CmakeList: /cmake_minimum_required(VERSION 2.8) project(test) find_package(SDL REQUIRED) if(NOT SDL_FOUND) message(SEND_ERROR "Failted to find SDL") return() el