conditional repairs for custom modules

This commit is contained in:
Stephen Birarda 2013-05-14 12:02:54 -07:00
parent c3bbebee58
commit 9a163d2a72
2 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ else (LIBOVR_LIBRARIES AND LIBOVR_INCLUDE_DIRS)
if (APPLE)
find_library(LIBOVR_LIBRARIES libovr.a ${LIBOVR_ROOT_DIR}/Lib/MacOS/)
else (WIN32)
elseif (WIN32)
find_library(LIBOVR_LIBRARIES libovr.lib ${LIBOVR_ROOT_DIR}/Lib/Win32/)
endif ()

View file

@ -20,8 +20,8 @@ else (PORTAUDIO_LIBRARIES AND PORTAUDIO_INCLUDE_DIRS)
if (APPLE)
find_library(PORTAUDIO_LIBRARIES libportaudio.a ${PORTAUDIO_ROOT_DIR}/lib/MacOS/)
else (UNIX)
find_library(PORTAUDIO_LIBRARIES libportaudio.a "${PORTAUDIO_ROOT_DIR}/lib/UNIX/")
elseif (UNIX)
find_library(PORTAUDIO_LIBRARIES libportaudio.a ${PORTAUDIO_ROOT_DIR}/lib/UNIX/)
endif ()
if (PORTAUDIO_INCLUDE_DIRS AND PORTAUDIO_LIBRARIES)