Sargrad, Dave wrote: > I did forget to mention one additional thing that I had to do, and to > ask a related question. > > Once I built freetype2 using the FREETYPE2_STATIC directive, I also had > to add this to podofo_static (in the preprocessor definitions section). > I manually edited the solution generated by cmake to add this. > > What is the correct way to have cmake add FREETYPE2_STATIC to the > preprocessor definitions for podofo_static?
Probably: -DCMAKE_CPP_FLAGS="-DFREETYPE2_STATIC" ... but I haven't checked. I don't generally land up having to set random extra flags on cmake projects - I try to make sure that the CMakeLists.txt and the modules set things up for you correctly. I had no issues with a custom-built freetype and didn't have to specify any extra preprocessor definitions to podofo and its tests to link and run. -- Craig Ringer ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
