diff options
author | Don Kjer <don@lindenlab.com> | 2012-10-04 06:29:07 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2012-10-04 06:29:07 +0000 |
commit | 21df924a10c1c32f7fc28bb29b20dc2179863b24 (patch) | |
tree | 1e3786d1da78129a73903bfa083e52423fe89a68 /indra/llappearance/CMakeLists.txt | |
parent | 6d613b61d76c1909021983901920b6b1dc2c80f4 (diff) |
Building headless and non-headless libraries side-by-side, removing the need for the BAKING cmake setting.
Diffstat (limited to 'indra/llappearance/CMakeLists.txt')
-rw-r--r-- | indra/llappearance/CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/indra/llappearance/CMakeLists.txt b/indra/llappearance/CMakeLists.txt index c570f0c93b..0dbd58b7cd 100644 --- a/indra/llappearance/CMakeLists.txt +++ b/indra/llappearance/CMakeLists.txt @@ -89,6 +89,22 @@ target_link_libraries(llappearance ${LLCOMMON_LIBRARIES} ) +if (BUILD_HEADLESS) + add_library (llappearanceheadless ${llappearance_SOURCE_FILES}) + + target_link_libraries(llappearanceheadless + ${LLCHARACTER_LIBRARIES} + ${LLINVENTORY_LIBRARIES} + ${LLIMAGE_LIBRARIES} + ${LLRENDERHEADLESS_LIBRARIES} + ${LLVFS_LIBRARIES} + ${LLMATH_LIBRARIES} + ${LLXML_LIBRARIES} + ${LLMATH_LIBRARIES} + ${LLCOMMON_LIBRARIES} + ) +endif (BUILD_HEADLESS) + #add unit tests #if (LL_TESTS) # INCLUDE(LLAddBuildTest) |