Thread: CMake problem
View Single Post
  #5   (View Single Post)  
Old 21st January 2015
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default

hi, ibara
Code:
~/test/tmp $ CC=egcc CXX=eg++ cmake ../sdcv-0.5.0-beta2-Source/
-- REQUIRED_VARS
-- Configuring done
-- Generating done
-- Build files have been written to: /home/sw2wolf/test/tmp

~/test/tmp $ make
[ 12%] Building CXX object CMakeFiles/sdcv.dir/src/sdcv.cpp.o
cc1plus: error: unrecognized command line option "-std=c++11"
*** Error 1 in . (CMakeFiles/sdcv.dir/build.make:59 'CMakeFiles/sdcv.dir/src/sdcv.cpp.o': /usr/bin/c++   -DHAVE_CONFIG_H -DVERSION=\"0.5.0-b...)
*** Error 1 in . (CMakeFiles/Makefile2:95 'CMakeFiles/sdcv.dir/all')
*** Error 1 in /home/sw2wolf/test/tmp (Makefile:137 'all')
weird CMake ! Why does the author of sdcv use CMake ?
Reply With Quote