Merge pull request #286 from birarda/master

revert the last change
This commit is contained in:
birarda 2013-05-10 15:06:06 -07:00
commit d43510c5bc

View file

@ -61,9 +61,6 @@ include(${QT_USE_FILE})
# run qt moc on qt-enabled headers
qt4_wrap_cpp(INTERFACE_SRCS src/Application.h)
find_package(LibOVR)
target_link_libraries(${TARGET_NAME} ${LIBOVR_LIBRARY})
# create the executable, make it a bundle on OS X
add_executable(${TARGET_NAME} MACOSX_BUNDLE ${INTERFACE_SRCS})
@ -78,6 +75,7 @@ link_hifi_library(avatars ${TARGET_NAME} ${ROOT_DIR})
# find required libraries
find_package(GLM REQUIRED)
find_package(LodePNG REQUIRED)
find_package(LibOVR)
# include headers for external libraries and InterfaceConfig.
include_directories(
@ -89,6 +87,7 @@ include_directories(
)
target_link_libraries(${TARGET_NAME} ${QT_LIBRARIES})
target_link_libraries(${TARGET_NAME} ${LIBOVR_LIBRARY})
if (APPLE)
# link in required OS X frameworks and include the right GL headers