Skip to content

Commit d4bf882

Browse files
committed
CMAKE_SOURCE_DIR != CMAKE_CURRENT_SOURCE_DIR == Graph developer
1 parent 3a51b37 commit d4bf882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Distributed under the Boost Software License, Version 1.0.
33
# https://www.boost.org/LICENSE_1_0.txt
44

5-
if (BOOST_SUPERPROJECT_VERSION)
5+
if (NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
66
# When we're part of the Boost super project.
77
cmake_minimum_required(VERSION 3.5...3.16)
88

0 commit comments

Comments
 (0)