Use relative paths in the install command to support --prefix

toml-checker archive_02f1a706
Duncan Ogilvie 4 years ago
parent 7bd97e56e3
commit 02f1a70628

2
CMakeLists.txt generated

@ -116,7 +116,7 @@ install(
TARGETS
cmkr
DESTINATION
"${CMAKE_INSTALL_PREFIX}/bin"
bin
COMPONENT
cmkr
)

@ -17,4 +17,4 @@ link-libraries = ["toml11", "ghc_filesystem", "mpark_variant", "ordered_map"]
[[install]]
targets = ["cmkr"]
destination = "${CMAKE_INSTALL_PREFIX}/bin"
destination = "bin"

Loading…
Cancel
Save