Parse error. Expected a command name, got unquoted argument with text "//".
Solution:
CMake comments start with #, not with // !
How ?
Change any comment line starting with // to start with # instead.
// Create main executable ---> #Create main executable
Example error:
prashad@ubuntu:~/working_dir/bgslibrary/build$ make
-- Bulding bgslibrary_core SHARED
CMake Error at /home/prashad/test/objecttracker_gerrit/BlobTracking.h:5:
Parse error. Expected a command name, got unquoted argument with text
"//".
Call Stack (most recent call first):
CMakeLists.txt:233 (include)