overte-HifiExperiments/tools/oven/CMakeLists.txt
2018-04-17 12:14:45 +03:00

23 lines
585 B
CMake

set(TARGET_NAME oven)
setup_hifi_project(Widgets Gui Concurrent)
link_hifi_libraries(networking shared image gpu ktx fbx baking graphics)
setup_memory_debugger()
if (WIN32)
package_libraries_for_deployment()
elseif (UNIX AND NOT APPLE)
find_package(Threads REQUIRED)
if(THREADS_HAVE_PTHREAD_ARG)
target_compile_options(oven PUBLIC "-pthread")
endif()
elseif (APPLE)
# Fix up the rpath so macdeployqt works
set_target_properties(${TARGET_NAME} PROPERTIES INSTALL_RPATH "@executable_path/../Frameworks")
endif()
if (BUILD_SERVER)
install_beside_console()
endif ()