1
General / Static SFML Project using CMake, 'No rule to make target lib/libglew32.a'?
« on: July 21, 2014, 04:10:24 am »
Hi,
I'm trying to create a CMakeLists.txt file from scratch for my project. I've compiled the most recent SFML2 source as static libraries. However when building the file I get the following:
My CMakeLists.txt can be seen here: http://pastebin.com/CguyS83F
I've copied the most recent FindSFML.cmake file into my CMake Modules folder, and have followed the linking statically guide. I'm linking the SFML_DEPENDENCIES too.
Any idea as to why I'm getting this? Thanks for the help.
I'm trying to create a CMakeLists.txt file from scratch for my project. I've compiled the most recent SFML2 source as static libraries. However when building the file I get the following:
mingw32-make.exe[3]: *** No rule to make target 'C:/SFML-2.1/lib/libglew32.a', needed by 'Corruption.exe'. Stop.
My CMakeLists.txt can be seen here: http://pastebin.com/CguyS83F
I've copied the most recent FindSFML.cmake file into my CMake Modules folder, and have followed the linking statically guide. I'm linking the SFML_DEPENDENCIES too.
Any idea as to why I'm getting this? Thanks for the help.