summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDouglas Heriot <douglas@douglasheriot.com>2015-06-24 18:04:26 +0200
committerAndreas Schneider <asn@cryptomilk.org>2015-06-24 18:36:08 +0200
commit1accbcb98bd4c259151b6103b0771f2bed6a109c (patch)
tree9353d7a5c42e7203e141d231a51df38e9cfdf6a9 /src
parent342ae10f08adb4804806542d3b81a81a25d4a687 (diff)
cmake: Do not use CMAKE_(SOURCE|BINARY)_DIR
(cherry picked from commit a65af1b3b8a4ea50fd687b6583eac93e38cf4f3b)
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5fd042db..6263e3e3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,12 +1,12 @@
project(libssh-library C)
set(LIBSSH_PUBLIC_INCLUDE_DIRS
- ${CMAKE_SOURCE_DIR}/include
+ ${libssh_SOURCE_DIR}/include
CACHE INTERNAL "libssh public include directories"
)
set(LIBSSH_PRIVATE_INCLUDE_DIRS
- ${CMAKE_BINARY_DIR}
+ ${libssh_BINARY_DIR}
)
set(LIBSSH_LINK_LIBRARIES