Set correct path for Leap Motion static link library on Windows

Ansariel 2013-12-14 14:55:57 +01:00
parent 394770bb6a
commit a16fec32ef
1 changed files with 9 additions and 3 deletions

View File

@ -15,9 +15,15 @@ if( LEAPMOTION )
if (DARWIN)
set(LEAP_MOTION_LIBRARY libLeap.dylib)
elseif (WINDOWS)
set(LEAP_MOTION_LIBRARY
debug Leapd.lib
optimized Leap.lib)
if (ND_BUILD64BIT_ARCH)
set(LEAP_MOTION_LIBRARY
debug ${LIBS_PREBUILT_DIR}/lib/debug/x64/Leapd.lib
optimized ${LIBS_PREBUILT_DIR}/lib/release/x64/Leap.lib)
else (ND_BUILD64BIT_ARCH)
set(LEAP_MOTION_LIBRARY
debug ${LIBS_PREBUILT_DIR}/lib/debug/x86/Leapd.lib
optimized ${LIBS_PREBUILT_DIR}/lib/release/x86/Leap.lib)
endif (ND_BUILD64BIT_ARCH)
elseif (LINUX)
set(LEAP_MOTION_LIBRARY libLeap.so)
endif()