mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
Merge pull request #310 from birarda/master
conditional repairs in custom find modules
This commit is contained in:
commit
7902daec8a
2 changed files with 3 additions and 3 deletions
|
@ -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 ()
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue