Просмотр исходного кода

cmake: For SDL build, link the glfw dependency (#3860)

pull/3861/head
Rob Loach 2 лет назад
committed by GitHub
Родитель
Сommit
fccdfa7926
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: B5690EEEBB952194
1 измененных файлов: 6 добавлений и 0 удалений
  1. +6
    -0
      examples/CMakeLists.txt

+ 6
- 0
examples/CMakeLists.txt Просмотреть файл

@ -145,5 +145,11 @@ foreach (example_source ${example_sources})
endif ()
endforeach ()
# For SDL, have rlgl_standalone link the glfw dependency.
if ("${PLATFORM}" STREQUAL "SDL")
find_package(glfw3 3.3 REQUIRED)
target_link_libraries(rlgl_standalone glfw)
endif()
# Copy all of the resource files to the destination
file(COPY ${example_resources} DESTINATION "resources/")

Загрузка…
Отмена
Сохранить