You need to 'cd' into the build directory:
mkdir build cd build cmake ../devel ________________________________ From: Opm <opm-boun...@opm-project.org> on behalf of XiaoYun Wang <wang.x...@gmail.com> Sent: Thursday, August 11, 2016 7:36:50 AM To: opm@opm-project.org Subject: [Opm] ERT cmake problem Hi I try to install ERT.ecl in my PC, redhat 6.4 with cmake 3.6.1 After I download ert-master, mkdir build cmake ../devel there something wrong with [root@shltd-s1 build]# pwd /software/OPM/ert-master/build [root@shltd-s1 build]# cmake ../devel CMake Error at src/CMakeLists.txt:195 (set_target_properties): set_target_properties called with incorrect number of arguments. fatal: Not a git repository (or any of the parent directories): .git CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 3.6) 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! See also "/software/OPM/ert-master/devel/CMakeFiles/CMakeOutput.log". [root@shltd-s1 build]# Would you please help me, many thanks. ------------------------------------------------------------------- The information contained in this message may be CONFIDENTIAL and is intended for the addressee only. Any unauthorised use, dissemination of the information or copying of this message is prohibited. If you are not the addressee, please notify the sender immediately by return e-mail and delete this message. Thank you
_______________________________________________ Opm mailing list Opm@opm-project.org http://opm-project.org/cgi-bin/mailman/listinfo/opm