Make sure ${CMAKE_CURRENT_BINARY_DIR} exists
commitafcfe7a607075e6defe3fac54ecb6acf805a6dad
authorAlbert Astals Cid <albert.astals@canonical.com>
dateThu 21 May 2015, 22:24 (11 years ago)
parent6e12f1b
cmake/modules/QmlTest.cmake+1
@@ -127,6 +127,7 @@ function(add_executable_test COMPONENT_NAME TARGET)
127127 file(MAKE_DIRECTORY ${ARTIFACTS_DIR}/${path})
128128 set(file_logger -o ${ARTIFACTS_DIR}/${path}/test${COMPONENT_NAME}.xml,xunitxml)
129129 else()
130+ file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
130131 set(file_logger -o ${CMAKE_CURRENT_BINARY_DIR}/test${COMPONENT_NAME}.xml,xunitxml)
131132 endif()
132133