summaryrefslogtreecommitdiff
path: root/height-map-display/CMakeLists.txt
diff options
context:
space:
mode:
authorSchark <jordan@schark.online>2024-03-17 01:32:33 -0700
committerSchark <jordan@schark.online>2024-03-17 01:32:33 -0700
commite7a4152899e63182a4cc0dffff6cd331d6dac305 (patch)
tree40e7ddb1617b526f80452ad61214b921d2bc23be /height-map-display/CMakeLists.txt
parent34fb121dd1583de307e8ba95cc3ad7fb2abb24e1 (diff)
downloadgamedev-e7a4152899e63182a4cc0dffff6cd331d6dac305.tar.gz
gamedev-e7a4152899e63182a4cc0dffff6cd331d6dac305.zip
Map overhaul, need to fix renderer
Diffstat (limited to '')
-rw-r--r--height-map-display/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/height-map-display/CMakeLists.txt b/height-map-display/CMakeLists.txt
index 5861290..c55a0fe 100644
--- a/height-map-display/CMakeLists.txt
+++ b/height-map-display/CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.10)
-project(raycaster C)
+project(height-map-renderer C)
set(CMAKE_C_STANDARD 99)
@@ -8,7 +8,7 @@ find_package(GLEW REQUIRED)
find_package(glfw3 REQUIRED)
find_package(Freetype REQUIRED)
-file(GLOB SOURCES "src/*.c")
+file(GLOB SOURCES "src/*.c" "src/map/*.c")
-add_executable(height-map-display ${SOURCES})
-target_link_libraries(height-map-display ${OPENGL_gl_LIBRARY} ${OPENGL_INCLUDE_DIRS} ${FREETYPE_LIBARIES} ${GLEW_LIBRARIES} glfw m)
+add_executable(build ${SOURCES})
+target_link_libraries(build ${OPENGL_gl_LIBRARY} ${OPENGL_INCLUDE_DIRS} ${FREETYPE_LIBARIES} ${GLEW_LIBRARIES} glfw m)