diff options
author | Oz Linden <oz@lindenlab.com> | 2011-04-08 09:24:07 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-04-08 09:24:07 -0400 |
commit | 444311d58082ae1277a3628fbe380f7407910f50 (patch) | |
tree | 9349d5caf656ac427da037fe6fc4b1f4f387ded1 /indra/cmake/LLKDU.cmake | |
parent | a22e3df7e5570e52abcba4a28103c3d76960a010 (diff) | |
parent | c492bffaa6cd0d9bb05bbc3671c7658b7ba52862 (diff) |
pull tags and late fixes back from viewer-pre-release
Diffstat (limited to 'indra/cmake/LLKDU.cmake')
-rw-r--r-- | indra/cmake/LLKDU.cmake | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/indra/cmake/LLKDU.cmake b/indra/cmake/LLKDU.cmake index f5cbad03a6..e478b01f84 100644 --- a/indra/cmake/LLKDU.cmake +++ b/indra/cmake/LLKDU.cmake @@ -1,20 +1,21 @@ # -*- cmake -*- -include(Prebuilt) -# USE_KDU can be set when launching cmake or develop.py as an option using the argument -DUSE_KDU:BOOL=ON -# When building using proprietary binaries though (i.e. having access to LL private servers), we always build with KDU -if (INSTALL_PROPRIETARY AND NOT STANDALONE) - set(USE_KDU ON) -endif (INSTALL_PROPRIETARY AND NOT STANDALONE) +# USE_KDU can be set when launching cmake as an option using the argument -DUSE_KDU:BOOL=ON +# When building using proprietary binaries though (i.e. having access to LL private servers), +# we always build with KDU +if (INSTALL_PROPRIETARY) + set(USE_KDU ON CACHE BOOL "Use Kakadu library.") +endif (INSTALL_PROPRIETARY) if (USE_KDU) + include(Prebuilt) use_prebuilt_binary(kdu) if (WINDOWS) set(KDU_LIBRARY kdu.lib) else (WINDOWS) set(KDU_LIBRARY libkdu.a) endif (WINDOWS) - set(KDU_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/kdu) + set(KDU_INCLUDE_DIR ${AUTOBUILD_INSTALL_DIR}/include/kdu) set(LLKDU_INCLUDE_DIRS ${LIBS_OPEN_DIR}/llkdu) set(LLKDU_LIBRARIES llkdu) endif (USE_KDU) |