I am currently opening my project in qtcreator by simply opening the CMakeLists.txt file associated with my project. This is working great as I can build, debug and run the project from qtcreator. Now I am trying to run cmake with the argument -DPCL_DIR=/usr/local
which changes the default path of the PCL library which I am using in my code. I can do this fine from the command line. However when trying to do it from qtcreator using the cmake wizard it ignores the -DPCL_DIR
option and compiles using the default library location. How can I get qtcreator to not ignore the cmake argument??
Alternatively I can run cmake from command line and somehow get qtcreator to point to the Makefile generated by the command line cmake run, but I don't know how to do that.
A solution to any of the above problems is appreciated.