summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsql/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt
index 3215194eca9..85970ff5c0a 100755
--- a/sql/CMakeLists.txt
+++ b/sql/CMakeLists.txt
@@ -281,7 +281,7 @@ ENDIF()
# For Makefile generators we default Debug build directory to ${buildroot}/../debug.
GET_FILENAME_COMPONENT(BINARY_PARENTDIR ${CMAKE_BINARY_DIR} PATH)
-SET(DEBUGBUILDDIR "${BINARY_PARENTDIR}/debug")
+SET(DEBUGBUILDDIR "${BINARY_PARENTDIR}/debug" CACHE INTERNAL "Directory of debug build")
IF(WIN32)
SET(EXE ".exe")