mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 21:46:50 +02:00
26 lines
730 B
CMake
26 lines
730 B
CMake
set(TARGET_NAME shared)
|
|
|
|
include_directories("${QT_DIR}/include/QtCore/${QT_VERSION}/QtCore" "${QT_DIR}/include/QtCore/${QT_VERSION}")
|
|
|
|
# TODO: there isn't really a good reason to have Script linked here - let's get what is requiring it out (RegisteredMetaTypes.cpp)
|
|
setup_hifi_library(Gui Network Script)
|
|
|
|
if (WIN32)
|
|
target_link_libraries(${TARGET_NAME} Wbemuuid.lib)
|
|
endif()
|
|
|
|
if (ANDROID)
|
|
target_link_libraries(${TARGET_NAME} android)
|
|
endif()
|
|
|
|
if (APPLE)
|
|
find_library(FRAMEWORK_IOKIT IOKit)
|
|
find_library(CORE_FOUNDATION CoreFoundation)
|
|
find_library(OpenGL OpenGL)
|
|
target_link_libraries(${TARGET_NAME} ${FRAMEWORK_IOKIT} ${CORE_FOUNDATION} ${OpenGL})
|
|
endif()
|
|
|
|
target_zlib()
|
|
target_nsight()
|
|
target_json()
|
|
|