summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-01-21 01:24:13 +0000
committerJames Cook <james@lindenlab.com>2009-01-21 01:24:13 +0000
commit6a2fa3da87c438ccadebe461c1f320950789251c (patch)
tree50166d7256970475c39197a1c840e4034ed828d2 /indra
parent92921d15005dd497fc1703f88f9db766469c7a5a (diff)
Fix for broken builds for win_setup app. Reviewed by Brad.
Diffstat (limited to 'indra')
-rw-r--r--indra/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/CMakeLists.txt b/indra/CMakeLists.txt
index 9f8c504409..c8a793aaa5 100644
--- a/indra/CMakeLists.txt
+++ b/indra/CMakeLists.txt
@@ -75,9 +75,10 @@ if (VIEWER)
add_dependencies(viewer mac-updater mac-crash-logger)
elseif (WINDOWS)
add_subdirectory(${VIEWER_PREFIX}win_crash_logger)
- if (EXISTS ${VIEWER_PREFIX}win_setup)
- add_subdirectory(${VIEWER_PREFIX}win_setup)
- endif (EXISTS ${VIEWER_PREFIX}win_setup)
+ # cmake EXISTS requires an absolute path, see indra/cmake/Variables.cmake
+ if (EXISTS ${VIEWER_DIR}win_setup)
+ add_subdirectory(${VIEWER_DIR}win_setup)
+ endif (EXISTS ${VIEWER_DIR}win_setup)
add_subdirectory(${VIEWER_PREFIX}win_updater)
# add_dependencies(viewer windows-updater windows-setup windows-crash-logger)
add_dependencies(viewer windows-updater windows-crash-logger)