mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
Find Zlib the right way.
This commit is contained in:
parent
2c0bea3f33
commit
6b065ab856
1 changed files with 2 additions and 3 deletions
|
@ -86,6 +86,7 @@ link_hifi_library(audio ${TARGET_NAME} ${ROOT_DIR})
|
|||
find_package(GLM REQUIRED)
|
||||
find_package(LibOVR)
|
||||
find_package(OpenCV)
|
||||
find_package(ZLIB)
|
||||
|
||||
# include headers for interface and InterfaceConfig.
|
||||
include_directories(
|
||||
|
@ -102,7 +103,7 @@ include_directories(
|
|||
${OPENCV_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
target_link_libraries(${TARGET_NAME} ${QT_LIBRARIES} ${OPENCV_LIBRARIES})
|
||||
target_link_libraries(${TARGET_NAME} ${QT_LIBRARIES} ${OPENCV_LIBRARIES} ${ZLIB_LIBRARIES})
|
||||
|
||||
if (APPLE)
|
||||
# link in required OS X frameworks and include the right GL headers
|
||||
|
@ -117,7 +118,6 @@ if (APPLE)
|
|||
find_library(OpenGL OpenGL)
|
||||
find_library(IOKit IOKit)
|
||||
find_library(QTKit QTKit)
|
||||
find_library(ZLIB_LIBRARY zlib)
|
||||
|
||||
target_link_libraries(
|
||||
${TARGET_NAME}
|
||||
|
@ -132,7 +132,6 @@ if (APPLE)
|
|||
${OpenGL}
|
||||
${IOKit}
|
||||
${QTKit}
|
||||
${ZLIB_LIBRARY}
|
||||
${LIBOVR_LIBRARIES}
|
||||
)
|
||||
else (APPLE)
|
||||
|
|
Loading…
Reference in a new issue