I am now porting a program from Python to C++ that uses Plplot Getting this error when running Cmake in my project :
[cmake] CMake Error at lib/plplot.git/CMakeLists.txt:60 (cmake_minimum_required): [cmake] CMake 3.13.2 or higher is required. You are running version 3.10.2 But my system Cmake version is cmake version 3.16.2 This is my Makelists.txt: cmake_minimum_required(VERSION 3.0.0) project(autoplot++ VERSION 0.1.0) include(CTest) enable_testing() add_executable(autoplot++ main.cpp) add_subdirectory(lib/yaml-cpp) add_subdirectory(lib/plplot.git) include_directories( lib/yaml-cpp/include, lib/plplot.git/bindings/c++ ) target_link_libraries( autoplot++ PRIVATE yaml-cpp ) target_link_libraries( autoplot++ PRIVATE plplot ) set(CPACK_PROJECT_NAME ${PROJECT_NAME}) set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) include(CPack) Any ideas on why and how to set it up ? Thanks !
_______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general