Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Commit 35acbda

Browse files
authored
Merge pull request #98 from etheory/patch-1
Update to allow FindILMBase.cmake to work with modern cmake
2 parents 071129f + da52ded commit 35acbda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/FindILMBase.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
# ILMBASE_FOUND - true if ILMBASE was found on the system
3838
# ILMBASE_LIBRARY_DIRS - the full set of library directories
3939

40-
FIND_PATH ( Ilmbase_Base_Dir include/OpenEXR/IlmBaseConfig.h
41-
ENV ILMBASE_ROOT
40+
FIND_PATH ( Ilmbase_Base_Dir NAMES include/OpenEXR/IlmBaseConfig.h
41+
PATHS ${ILMBASE_ROOT}
4242
)
4343

4444
IF ( Ilmbase_Base_Dir )
@@ -47,7 +47,7 @@ IF ( Ilmbase_Base_Dir )
4747
${Ilmbase_Base_Dir}/include
4848
${Ilmbase_Base_Dir}/include/OpenEXR
4949
CACHE STRING "ILMBase include directories")
50-
SET ( ILMBASE_LIBRARY_DIRS ${Ilmbase_Base_Dir}/lib
50+
SET ( ILMBASE_LIBRARY_DIRS ${Ilmbase_Base_Dir}/lib64
5151
CACHE STRING "ILMBase library directories")
5252
SET ( ILMBASE_FOUND TRUE )
5353

0 commit comments

Comments
 (0)