| 1 |
# This is not a full standalone CMake configuration for the hello world |
| 2 |
# example. |
| 3 |
# |
| 4 |
# To build it outside the PoDoFo source tree, you must set your build system |
| 5 |
# make the PoDoFo headers available and must link to the PoDoFo library |
| 6 |
# and any libraries it depends on (see the README, |
| 7 |
# "5. Using PoDoFo in Your Application") . |
| 8 |
# |
| 9 |
# Note that you don't need the headers for PoDoFo's dependencies in your |
| 10 |
# header search path. |
| 11 |
|
| 12 |
add_compile_options(${PODOFO_CFLAGS}) |
| 13 |
add_executable(helloworld helloworld.cpp) |
| 14 |
target_link_libraries(helloworld ${PODOFO_LIBRARIES}) |