summaryrefslogtreecommitdiff
path: root/indra/cmake/OpenJPEG.cmake
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2023-02-13 14:12:59 -0800
committerCallum Prentice <callum@lindenlab.com>2023-02-13 14:12:59 -0800
commit422cd237dff521b35521292a8fccca61eaece23a (patch)
treeec275907b06d8839b2c6f984a0c7ad11719efc77 /indra/cmake/OpenJPEG.cmake
parentf3cd329b585ef55a66f2a824f010d1a54d67d8d2 (diff)
parent8d21d29bd7fa038db632ff90fb0e1207d0713ca2 (diff)
Fix up a couple of tiny merge conflicts after a merge with main
Diffstat (limited to 'indra/cmake/OpenJPEG.cmake')
-rw-r--r--indra/cmake/OpenJPEG.cmake14
1 files changed, 3 insertions, 11 deletions
diff --git a/indra/cmake/OpenJPEG.cmake b/indra/cmake/OpenJPEG.cmake
index bf0bde2ba7..a078c97cb8 100644
--- a/indra/cmake/OpenJPEG.cmake
+++ b/indra/cmake/OpenJPEG.cmake
@@ -8,15 +8,7 @@ if (USESYSTEMLIBS)
include(FindOpenJPEG)
else (USESYSTEMLIBS)
use_prebuilt_binary(openjpeg)
-
- if(WINDOWS)
- # Windows has differently named release and debug openjpeg(d) libs.
- set(OPENJPEG_LIBRARIES
- debug openjpegd
- optimized openjpeg)
- else(WINDOWS)
- set(OPENJPEG_LIBRARIES openjpeg)
- endif(WINDOWS)
-
- set(OPENJPEG_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/openjpeg)
+
+ set(OPENJPEG_LIBRARIES openjp2)
+ set(OPENJPEG_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/openjpeg)
endif (USESYSTEMLIBS)