Commit ef7001f
committed
cmake: set include directories in case the target is used out of this project
When using pcap or pcap_static CMake target out of this project.
The compiler complains about missing "pcap.h" header.
This is because no proper include directories are setted with these targets.
Add a proper include_directories to both pcap and pcap_static targets.
Also bump the minimum cmake version to 2.8.11 to allow generator expressions.
Signed-off-by: Clément Péron <peron.clem@gmail.com>1 parent bf8bfc7 commit ef7001f
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3144 | 3144 | | |
3145 | 3145 | | |
3146 | 3146 | | |
| 3147 | + | |
| 3148 | + | |
| 3149 | + | |
| 3150 | + | |
3147 | 3151 | | |
3148 | 3152 | | |
3149 | 3153 | | |
| |||
3169 | 3173 | | |
3170 | 3174 | | |
3171 | 3175 | | |
| 3176 | + | |
| 3177 | + | |
| 3178 | + | |
| 3179 | + | |
3172 | 3180 | | |
3173 | 3181 | | |
3174 | 3182 | | |
| |||
0 commit comments