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/newview | |
parent | 6d613b61d76c1909021983901920b6b1dc2c80f4 (diff) |
Building headless and non-headless libraries side-by-side, removing the need for the BAKING cmake setting.
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 83b38e89f9..25feb24788 100755 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1539,6 +1539,12 @@ add_executable(${VIEWER_BINARY_NAME} ${viewer_SOURCE_FILES} ) +if (SDL_FOUND) + set_property(TARGET ${VIEWER_BINARY_NAME} + PROPERTY COMPILE_DEFINITIONS LL_SDL=1 + ) +endif (SDL_FOUND) + # add package files file(GLOB EVENT_HOST_SCRIPT_GLOB_LIST ${CMAKE_CURRENT_SOURCE_DIR}/../viewer_components/*.py) |