mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
24 lines
No EOL
750 B
CMake
24 lines
No EOL
750 B
CMake
set(TARGET_NAME assignment-client)
|
|
|
|
setup_hifi_project(${TARGET_NAME} TRUE)
|
|
|
|
include_glm(${TARGET_NAME})
|
|
|
|
# link in the shared libraries
|
|
link_hifi_libraries(${TARGET_NAME} audio avatars octree voxels fbx particles models metavoxels networking animation script-engine embedded-webserver)
|
|
|
|
if (UNIX)
|
|
target_link_libraries(${TARGET_NAME} ${DEPENDENCY_LIBRARIES} ${CMAKE_DL_LIBS})
|
|
endif (UNIX)
|
|
|
|
IF (WIN32)
|
|
target_link_libraries(${TARGET_NAME} ${DEPENDENCY_LIBRARIES} Winmm Ws2_32)
|
|
ENDIF(WIN32)
|
|
|
|
find_package(Qt5 COMPONENTS Gui Network Script Widgets)
|
|
target_link_libraries(${TARGET_NAME} Qt5::Gui Qt5::Network Qt5::Script Qt5::Widgets)
|
|
|
|
# add a definition for ssize_t so that windows doesn't bail
|
|
if (WIN32)
|
|
add_definitions(-Dssize_t=long)
|
|
endif () |