Commit da0b03a9 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Make DEBUGBUILDDIR cached variable, so it can be overriden with cmake -D

parent 065dfb3f
......@@ -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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment