aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/CMakeLists.txt
diff options
context:
space:
mode:
authorSergei Nikulov <sergey.nikulov@gmail.com>2018-09-07 16:45:11 +0300
committerSergei Nikulov <snikulov@users.noreply.github.com>2018-09-28 16:54:20 +0300
commitf8215f80abe3b3b037d037f891f5f94aad68b440 (patch)
tree05679bcfa7de768a646d76b683018e79c19277c4 /docs/cmdline-opts/CMakeLists.txt
parent518ed51ec762c0512edb53437acb737a5a28942a (diff)
cmake: fixed path used in generation of docs/tests during curl build through add_subdicectory(...)
Diffstat (limited to 'docs/cmdline-opts/CMakeLists.txt')
-rw-r--r--docs/cmdline-opts/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cmdline-opts/CMakeLists.txt b/docs/cmdline-opts/CMakeLists.txt
index 5aa20dfdb..3c020d418 100644
--- a/docs/cmdline-opts/CMakeLists.txt
+++ b/docs/cmdline-opts/CMakeLists.txt
@@ -1,4 +1,4 @@
-set(MANPAGE "${CMAKE_BINARY_DIR}/docs/curl.1")
+set(MANPAGE "${CURL_BINARY_DIR}/docs/curl.1")
# Load DPAGES and OTHERPAGES from shared file
transform_makefile_inc("Makefile.inc" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")