diff options
| author | Erik Kundiman <erik@megapahit.org> | 2025-11-07 14:52:08 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2025-11-07 14:52:08 +0800 |
| commit | d1e66eca33c42f6100644f08072c9f6b025a01b9 (patch) | |
| tree | a4a9252792003a2b42ef05d4c8ac4cdbd818b7b0 | |
| parent | be5c0c47bd66b700da18a8491f477fbb8d75933b (diff) | |
Use ibtool to compile the .xib to .nib
| -rw-r--r-- | indra/newview/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | indra/newview/SecondLife.nib | bin | 11888 -> 0 bytes | |||
| -rw-r--r-- | indra/newview/ViewerInstall.cmake | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index e033fd57bf..3ca3ab997d 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -2424,6 +2424,11 @@ elseif (CMAKE_SYSTEM_NAME MATCHES FreeBSD AND PACKAGE) endif (LINUX) if (DARWIN) + execute_process( + COMMAND ibtool --compile + ${CMAKE_CURRENT_BINARY_DIR}/SecondLife.nib + ${CMAKE_CURRENT_SOURCE_DIR}/SecondLife.xib + ) # These all get set with PROPERTIES. It's not that the property names are # magically known to CMake -- it's that these names are referenced in the # Info-SecondLife.plist file in the configure_file() directive below. diff --git a/indra/newview/SecondLife.nib b/indra/newview/SecondLife.nib Binary files differdeleted file mode 100644 index ef0fa80b12..0000000000 --- a/indra/newview/SecondLife.nib +++ /dev/null diff --git a/indra/newview/ViewerInstall.cmake b/indra/newview/ViewerInstall.cmake index 2c31d52e8b..e94a212151 100644 --- a/indra/newview/ViewerInstall.cmake +++ b/indra/newview/ViewerInstall.cmake @@ -31,7 +31,7 @@ if (DARWIN) ) install(FILES - SecondLife.nib + ${CMAKE_CURRENT_BINARY_DIR}/SecondLife.nib ${AUTOBUILD_INSTALL_DIR}/ca-bundle.crt cube.dae featuretable_mac.txt |
