summaryrefslogtreecommitdiff
path: root/indra/cmake/OpenJPEG.cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-08-12 15:22:41 +0800
committerErik Kundiman <erik@megapahit.org>2024-08-12 15:22:41 +0800
commit199d71b2baa76f1719cd074b60051db40886f7c0 (patch)
tree711c4aade4cc693ef8d95ef59167330f8818ec0c /indra/cmake/OpenJPEG.cmake
parent5c34a90bea4506ac965817596378a97ae5895a64 (diff)
Download & install aren't redone when installed
by making sure we *write* the _installed files (containing the value 0).
Diffstat (limited to 'indra/cmake/OpenJPEG.cmake')
-rw-r--r--indra/cmake/OpenJPEG.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/cmake/OpenJPEG.cmake b/indra/cmake/OpenJPEG.cmake
index 778cf62e29..16603ac9e5 100644
--- a/indra/cmake/OpenJPEG.cmake
+++ b/indra/cmake/OpenJPEG.cmake
@@ -41,6 +41,7 @@ if (USESYSTEMLIBS AND (${LINUX_DISTRO} MATCHES fedora OR DARWIN OR CMAKE_SYSTEM_
WORKING_DIRECTORY ${AUTOBUILD_INSTALL_DIR}
RESULT_VARIABLE openjpeg_installed
)
+ file(WRITE ${PREBUILD_TRACKING_DIR}/openjpeg_installed "${openjpeg_installed}")
endif (${PREBUILD_TRACKING_DIR}/sentinel_installed IS_NEWER_THAN ${PREBUILD_TRACKING_DIR}/openjpeg_installed OR NOT ${openjpeg_installed} EQUAL 0)
else (USESYSTEMLIBS AND (${LINUX_DISTRO} MATCHES fedora OR DARWIN OR CMAKE_SYSTEM_NAME MATCHES FreeBSD))
use_prebuilt_binary(openjpeg)