summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMark Palange (Mani) <palange@lindenlab.com>2009-10-22 15:38:26 -0700
committerMark Palange (Mani) <palange@lindenlab.com>2009-10-22 15:38:26 -0700
commitf67e44c5036e7f44b5489e25ffd8e0fd7e634aa2 (patch)
tree96aa85ac028924aa20994ef6dd0c44e32e3e630a /indra/newview
parentf58857824e71edc39d98180e7750aee9ff1d780e (diff)
Fixing the build for PE.
Now building with llkdu can be skipped by specifying INSTALL_PROPRIETARY=OFF when configuring the build. Reviewed by palmer
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index 5fdf13b078..dd3937a6ef 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -1388,7 +1388,11 @@ if (WINDOWS)
COMMENT "Copying staged dlls."
)
- add_dependencies(${VIEWER_BINARY_NAME} stage_third_party_libs llcommon llkdu)
+ add_dependencies(${VIEWER_BINARY_NAME} stage_third_party_libs llcommon)
+ if(LLKDU_LIBRARY)
+ # kdu may not exist!
+ add_dependencies(${VIEWER_BINARY_NAME} llkdu)
+ endif(LLKDU_LIBRARY)
endif(WINDOWS)
if (EXISTS ${CMAKE_SOURCE_DIR}/copy_win_scripts)