diff options
| author | Nicky <nicky.dasmijn@gmail.com> | 2022-04-16 15:29:02 +0200 | 
|---|---|---|
| committer | Nicky <nicky.dasmijn@gmail.com> | 2022-04-16 15:29:02 +0200 | 
| commit | bb85651d987a6cb969de7dd7c2b130411de6203c (patch) | |
| tree | d143b3b23331469170515726baa8a76af60135dd /indra/integration_tests/llui_libtest | |
| parent | c8eb53859fb9b9f59d5ce8ef67f4011e95e34a9a (diff) | |
Create a new target ll::oslibrary to link against libs specific to the OS compiled on.
This gets rid of the a few OS specific set and uses variables (which some even seemed mostly
duplicate like WINDOWS_LIBRARIES ans UI_LIBRARIES) and it also solves the problem of
having them to tack on every target, as of no they come as a transitive dependency from llcommon
Diffstat (limited to 'indra/integration_tests/llui_libtest')
| -rw-r--r-- | indra/integration_tests/llui_libtest/CMakeLists.txt | 16 | 
1 files changed, 0 insertions, 16 deletions
| diff --git a/indra/integration_tests/llui_libtest/CMakeLists.txt b/indra/integration_tests/llui_libtest/CMakeLists.txt index baa814fb8b..ef6107fe66 100644 --- a/indra/integration_tests/llui_libtest/CMakeLists.txt +++ b/indra/integration_tests/llui_libtest/CMakeLists.txt @@ -57,21 +57,6 @@ list(APPEND llui_libtest_SOURCE_FILES ${llui_libtest_HEADER_FILES})  add_executable(llui_libtest ${llui_libtest_SOURCE_FILES}) -# Link with OS-specific libraries for LLWindow dependency -if (DARWIN) -  find_library(COCOA_LIBRARY Cocoa) -  find_library(IOKIT_LIBRARY IOKit) -  set(OS_LIBRARIES ${COCOA_LIBRARY} ${IOKIT_LIBRARY}) -elseif (WINDOWS) -  #ll_stack_trace needs this now... -  list(APPEND WINDOWS_LIBRARIES dbghelp) -  set(OS_LIBRARIES ${WINDOWS_LIBRARIES}) -elseif (LINUX) -  set(OS_LIBRARIES) -else (DARWIN) -  message(FATAL_ERROR "unknown platform") -endif (DARWIN) -  # Libraries on which this library depends, needed for Linux builds  # Sort by high-level to low-level  target_link_libraries(llui_libtest @@ -83,7 +68,6 @@ target_link_libraries(llui_libtest          llimage          llkdu          llimagej2coj -        ${OS_LIBRARIES}          )  if (WINDOWS) | 
