Sorry not truly C++, how set PIC flag in build by Cmake command line

How to set PIC flag in build by use of cmake command line?
as in gcc is the option -fPIC
e.g.
cmake -G "Unix Makefiles" .....
Last edited on
Topic archived. No new replies allowed.