diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2015-02-13 12:16:38 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2015-02-13 12:16:38 +0000 |
| commit | 24dd515f300b92a48247211589e2f2951b33b14c (patch) | |
| tree | 750cf455158def314c2c368435001b0eda3cf4d3 /test | |
| parent | 75b4a349c630b07fe461df7b647f3e907dc207dd (diff) | |
[CMake] Fix creation of example directory when copying support files.
This was a regression introduced in svn r 10573 that affects new builds,
when the target directory for test files (bin/examples) doesn't exist yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
| -rw-r--r-- | test/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 45585b40a..d0ad163f9 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -108,7 +108,10 @@ endif(FLTK_HAVE_CAIRO) # - demo.menu: help (help-test.html) can't find its images (not copied) # - maybe more ... -configure_file(demo.menu ${EXECUTABLE_OUTPUT_PATH} COPYONLY) +# use a target filename to make sure the target directory gets created +configure_file(demo.menu ${EXECUTABLE_OUTPUT_PATH}/demo.menu COPYONLY) + +# use target directory only to avoid redundancy configure_file(rgb.txt ${EXECUTABLE_OUTPUT_PATH} COPYONLY) configure_file(help-test.html ${EXECUTABLE_OUTPUT_PATH} COPYONLY) configure_file(browser.cxx ${EXECUTABLE_OUTPUT_PATH} COPYONLY) |
