Update FindPLIB.cmake

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8535 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
beaglejoe 2022-09-20 21:50:49 +00:00
parent 883d025fe7
commit 92d0870d37
1 changed files with 16 additions and 14 deletions

View File

@ -28,7 +28,8 @@ IF(NOT APPLE OR OPTION_USE_MACPORTS)
DOC "Location of plib")
ENDIF(NOT APPLE OR OPTION_USE_MACPORTS)
IF(NOT APPLE OR OPTION_USE_MACPORTS)
IF(APPLE)
IF(NOT OPTION_USE_MACPORTS)
FIND_PATH(PLIB_PLIBINCLUDE_DIR ssg.h
HINTS ENV PLIB_DIR
PATH_SUFFIXES
@ -41,7 +42,8 @@ IF(NOT APPLE OR OPTION_USE_MACPORTS)
/usr /usr/local
DOC "Location of plib")
ENDIF(NOT APPLE OR OPTION_USE_MACPORTS)
ENDIF(NOT OPTION_USE_MACPORTS)
ENDIF(APPLE)
SET(PLIB_INCLUDE_DIR ${PLIB_PLIBINCLUDE_DIR} CACHE STRING "Include dir for plib")