summaryrefslogtreecommitdiffstats
path: root/build_settings.cmake
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@verizonmedia.com>2020-02-04 20:07:41 +0100
committerTor Egge <Tor.Egge@verizonmedia.com>2020-02-05 12:49:24 +0100
commit8fb13697a1adf64daa9139fa71b9eb92015de94b (patch)
treeb2911c03872be90345644cd947d9046e4b14ef23 /build_settings.cmake
parentd05911599c0b9706d54ff7819349cbcadd30ed0a (diff)
Use CMAKE_CURRENT_LIST_DIR instead of CMAKE_SOURCE_DIR, to allow
inclusion from dependent extra projects.
Diffstat (limited to 'build_settings.cmake')
-rw-r--r--build_settings.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_settings.cmake b/build_settings.cmake
index 679eed558d5..53fcbbad9a2 100644
--- a/build_settings.cmake
+++ b/build_settings.cmake
@@ -1,7 +1,7 @@
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
# @author Vegard Sjonfjell
-include(vtag.cmake)
+include(${CMAKE_CURRENT_LIST_DIR}/vtag.cmake)
# Build options
# Whether to build unit tests as part of the 'all' target