diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-07-12 21:28:49 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-07-19 16:04:48 +0800 |
commit | 8356386f6674cf7f1e25bcd49f3266868cd5dc7d (patch) | |
tree | af2d6f9a9f1c1b97a51930468b6951c143c0f0f2 /indra/newview/CMakeLists.txt | |
parent | b8952a7df228abd03783665ece0e91e2f0fd63bd (diff) |
FreeBSD can use llappviewerlinux too
Diffstat (limited to 'indra/newview/CMakeLists.txt')
-rw-r--r-- | indra/newview/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index c6dc0e7c96..6a1c975a00 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1411,7 +1411,7 @@ if (DARWIN) list(APPEND viewer_SOURCE_FILES ${viewer_RESOURCE_FILES}) endif (DARWIN) -if (LINUX) +if (LINUX OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD") LIST(APPEND viewer_SOURCE_FILES llappviewerlinux.cpp) set_source_files_properties( llappviewerlinux.cpp @@ -1421,7 +1421,7 @@ if (LINUX) LIST(APPEND viewer_SOURCE_FILES llappviewerlinux_api_dbus.cpp) SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--as-needed") -endif (LINUX) +endif (LINUX OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD") if (WINDOWS) list(APPEND viewer_SOURCE_FILES |