mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
16 lines
287 B
CMake
16 lines
287 B
CMake
cmake_minimum_required(VERSION 3.11b)
|
|
|
|
project(remote)
|
|
|
|
set(TARGET_NAME remote)
|
|
|
|
add_executable(remote main.c)
|
|
|
|
find_package(glfw3)
|
|
|
|
find_library(WGPU_LIBRARY wgpu_remote
|
|
HINTS "${CMAKE_CURRENT_SOURCE_DIR}/../../target/debug"
|
|
)
|
|
|
|
target_link_libraries(${TARGET_NAME} ${WGPU_LIBRARY})
|