mirror of
https://github.com/overte-org/overte.git
synced 2025-04-11 08:54:01 +02:00
find the ATL library on windows for LibOVR
This commit is contained in:
parent
acda466c76
commit
1ee58b7bd0
1 changed files with 3 additions and 2 deletions
|
@ -50,6 +50,7 @@ elseif (UNIX)
|
|||
elseif (WIN32)
|
||||
find_library(LIBOVR_LIBRARY_DEBUG NAMES libovrd PATH_SUFFIXES Lib/Win32/VS2010 HINTS ${LIBOVR_SEARCH_DIRS})
|
||||
find_library(LIBOVR_LIBRARY_RELEASE NAMES libovr PATH_SUFFIXES Lib/Win32/VS2010 HINTS ${LIBOVR_SEARCH_DIRS})
|
||||
find_package(ATL)
|
||||
endif ()
|
||||
|
||||
select_library_configurations(LIBOVR)
|
||||
|
@ -64,8 +65,8 @@ elseif (UNIX)
|
|||
list(APPEND LIBOVR_LIBRARIES "${UDEV_LIBRARY}" "${XINERAMA_LIBRARY}")
|
||||
list(APPEND LIBOVR_ARGS_LIST UDEV_LIBRARY XINERAMA_LIBRARY)
|
||||
elseif (WIN32)
|
||||
list(APPEND LIBOVR_LIRARIES "DEBUG atlsd.lib OPTIMIZED atls.lib")
|
||||
list(APPEND LIBOVR_LIBRARIES ws2_32.lib)
|
||||
list(APPEND LIBOVR_LIBRARIES ${ATL_LIBRARIES})
|
||||
list(APPEND LIBOVR_ARGS_LIST ATL_LIBRARIES)
|
||||
endif ()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
|
|
Loading…
Reference in a new issue