diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2022-09-01 12:27:08 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2022-09-01 12:27:08 -0400 |
commit | 675cfedb8af74c14ce30759f1d6193f954b88f7b (patch) | |
tree | 620c161375a14d01f0fedeaebbdfd42a852fac9d /indra/test | |
parent | 1ffe9d46135d4c0a8c780582f417cd524afd6420 (diff) |
DRTVWR-568: Ensure parent directory exists before CREATE_LINK.
Diffstat (limited to 'indra/test')
-rw-r--r-- | indra/test/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/test/CMakeLists.txt b/indra/test/CMakeLists.txt index 161e957784..9e65ceb926 100644 --- a/indra/test/CMakeLists.txt +++ b/indra/test/CMakeLists.txt @@ -121,6 +121,8 @@ elseif (DARWIN) # executable. This SHOULD properly be "$<TARGET_FILE_DIR:lltest>/Resources", # but the CMake $<TARGET_FILE_DIR> generator expression isn't evaluated by # CREATE_LINK, so fudge it. + # Make sure the symlink's parent directory exists... + file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/test") file(CREATE_LINK "../sharedlibs/Release/Resources" "${CMAKE_BINARY_DIR}/test/Resources" SYMBOLIC) endif (WINDOWS) |