Commit a43dbc2
committed
cmake: CMAKE_INSTALL_PREFIX should be evaluated at install stage
Actually CMAKE_INSTALL_PREFIX variable is not properly escape.
This make cmake_install generated file with hardcoded path and
modifying the $prefix at install stage is not usable.
$> cmake --install . --prefix my_prefix
Could not create symbolic link from
/usr/local/share/man/man3/pcap_datalink_val_to_name.3pcap
Fix this by properly escaping the CMAKE_INSTALL_PREFIX so the variable
is evaluated at install stage.
Signed-off-by: Clément Péron <peron.clem@gmail.com>1 parent 47d2794 commit a43dbc2
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3301 | 3301 | | |
3302 | 3302 | | |
3303 | 3303 | | |
3304 | | - | |
| 3304 | + | |
3305 | 3305 | | |
3306 | 3306 | | |
3307 | 3307 | | |
3308 | | - | |
| 3308 | + | |
3309 | 3309 | | |
3310 | 3310 | | |
3311 | 3311 | | |
3312 | | - | |
| 3312 | + | |
3313 | 3313 | | |
3314 | 3314 | | |
3315 | 3315 | | |
3316 | | - | |
| 3316 | + | |
3317 | 3317 | | |
3318 | | - | |
| 3318 | + | |
3319 | 3319 | | |
3320 | 3320 | | |
3321 | 3321 | | |
| |||
0 commit comments