Issue #81 closed
Trying to compile libgd 2.1.0 on Windows | Cmake Error
I'm trying to compile libgd 2.1.0 but when i execute cmake with the following command :
C:\Users\xxxx\Desktop\Compilation GD 2.1.0\libgd-2.1.0>cmake -G"MinGW Makefile " -DCMAKE_LIBRARY_PATH=c:\MinGW\lib -DCMAKE_INCLUDE_PATH=c:\MinGW\include .\src
I'm face this error :
CMake Error at CMakeLists.txt:83 (target_link_libraries): target_link_libraries called with incorrect number of arguments CMake Error at CMakeLists.txt:84 (target_link_libraries): target_link_libraries called with incorrect number of arguments CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.8) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring incomplete, errors occurred!
Need some help ...