summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--src/CMakeLists.txt3
2 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 65ed5da..658d360 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -105,6 +105,7 @@ FetchContent_Declare(stb
FetchContent_MakeAvailable(cglm stb)
## Glad
+# TODO: make sure the glad command is run before building
set(GLAD_HEADER ${CMAKE_BINARY_DIR}/include/glad/gl.h)
## Compilation information
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4fd2654..be1d2d9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -25,6 +25,8 @@ set_property(TARGET ${PROJECT_NAME} PROPERTY C_STANDARD 99)
target_include_directories(${PROJECT_NAME} PUBLIC
include
+ # TODO make including stb more streamlined
+ ${CMAKE_BINARY_DIR}/_deps/cgs-src/src
${CMAKE_BINARY_DIR}/include
${ENGINE_INCLUDE})
@@ -32,7 +34,6 @@ target_link_libraries(${PROJECT_NAME}
glfw
OpenGL::GL
cglm
- stb
daw_core
daw_rendering
daw_ctrl