Skip to content

Commit

Permalink
fixed FindAlembic script. Fixes issue PixarAnimationStudios#409
Browse files Browse the repository at this point in the history
  • Loading branch information
ix-dcourtois committed Feb 21, 2018
1 parent 514e92e commit 170b7bd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions cmake/modules/FindAlembic.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@
#=============================================================================

set(LIBRARY_PATHS
/usr/lib
/usr/local/lib
/sw/lib
/opt/local/lib
${ALEMBIC_DIR}/lib/
${ALEMBIC_DIR}/lib/static)

Expand All @@ -58,7 +54,7 @@ set(LIBRARY_PATHS
# as shipped in versions >= 1.6.0
find_library(ALEMBIC_LIBRARY
NAMES Alembic
PATHS ${LIBRARY_PATHS}
HINTS ${LIBRARY_PATHS}
)

# If single library is not found, look for legacy Alembic libraries.
Expand Down Expand Up @@ -132,7 +128,7 @@ endif()

# Find Alembic include dir
find_path (ALEMBIC_INCLUDE_DIR Alembic/Abc/All.h
${ALEMBIC_DIR}/include
HINTS ${ALEMBIC_DIR}/include
)

include(FindPackageHandleStandardArgs)
Expand Down

0 comments on commit 170b7bd

Please # to comment.