How to DELETE/REMOVE default tag -D when compiling using CMake?
I am trying to build a project by using CMake on Linux. When I create a library for the compiled project , Cmake by default is adding -Dtarget_EXPORTS option during compilation. This is option is unknown to my compiler.
i.e. g++ -Dtarget_EXPORTS -Wno-error testpgm.cc
Any idea how to remove or suppress this -D tag which is added by default in CMake ??
Thanks in advance
|