Skip to content

Commit da0b03a

Browse files
committed
Make DEBUGBUILDDIR cached variable, so it can be overriden with cmake -D
1 parent 065dfb3 commit da0b03a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ ENDIF()
281281
# For Makefile generators we default Debug build directory to ${buildroot}/../debug.
282282

283283
GET_FILENAME_COMPONENT(BINARY_PARENTDIR ${CMAKE_BINARY_DIR} PATH)
284-
SET(DEBUGBUILDDIR "${BINARY_PARENTDIR}/debug")
284+
SET(DEBUGBUILDDIR "${BINARY_PARENTDIR}/debug" CACHE INTERNAL "Directory of debug build")
285285

286286
IF(WIN32)
287287
SET(EXE ".exe")

0 commit comments

Comments
 (0)