]> git.lyx.org Git - features.git/commitdiff
Cmake build tests: Create directory neede for testing
authorKornel Benko <kornel@lyx.org>
Mon, 26 Aug 2013 20:02:20 +0000 (22:02 +0200)
committerKornel Benko <kornel@lyx.org>
Mon, 26 Aug 2013 20:02:20 +0000 (22:02 +0200)
While testing exports, we need a directory for created mess,
which we use then as working directory.

development/autotests/CMakeLists.txt

index 3c522f842ff8a9c15156f0eb1f30b0e2502ddccb..c136f4e6f16d82264572616873aff3878876f49c 100644 (file)
@@ -6,7 +6,7 @@
 
 set(LYX_HOME "out-home")
 set(LOCALE_DIR "${CMAKE_CURRENT_BINARY_DIR}/locale")
-file(MAKE_DIRECTORY "${LOCALE_DIR}")
+file(MAKE_DIRECTORY "${LOCALE_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/${LYX_HOME}")
 
 if(Q_WS_X11)
   set(Missing)