move glad to include again
This commit is contained in:
parent
74192889b1
commit
e8987e930f
|
@ -34,11 +34,13 @@ set(EXE_1_NAME loader)
|
|||
file(
|
||||
GLOB EXE_1_SOURCES
|
||||
src/main.cpp
|
||||
include/glad/glad.h
|
||||
)
|
||||
set(CMAKE_BINARY_DIR "bin")
|
||||
|
||||
add_executable(${EXE_1_NAME} ${EXE_1_SOURCES} ${PROJECT_HEADERS}
|
||||
${PROJECT_SHADERS} ${VENDORS_SOURCES})
|
||||
target_link_libraries(${EXE_1_NAME} glfw ${GLAD_LIBRARIES})
|
||||
target_include_directories(${EXE_1_NAME} PRIVATE include)
|
||||
set_target_properties(${EXE_1_NAME} PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${EXE_1_NAME})
|
||||
|
|
|
@ -4,8 +4,16 @@ This projects contains a loader for GLSL Shaders. It can be used to generate
|
|||
fancy images and videos from your shader files.
|
||||
|
||||
## Requirements
|
||||
|
||||
For Fedora Systems, you can the dependencies like this:
|
||||
|
||||
```bash
|
||||
sudo dnf install wayland-devel libxkbcommon-devel wayland-protocols-devel extra-cmake-modules \
|
||||
libXrandr-devel libXinerama-devel libXcursor-devel libXi-devel
|
||||
```
|
||||
|
||||
Optional, but recommended Packages:
|
||||
|
||||
```bash
|
||||
sudo dnf install glfw-devel glfw glfw-doc glad
|
||||
```
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "glad.c"
|
||||
#include <glad/glad.c>
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
#include <iostream>
|
||||
|
|
Loading…
Reference in New Issue