summary refs log tree commit diff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2022-10-02 00:02:16 +0200
committerMel <einebeere@gmail.com>2022-10-02 00:02:16 +0200
commit46ab7c6c8af19dcf537cab25aa468f4afc403940 (patch)
tree09e06a5e31ac1b43adb189c8232f08879d2559ad /CMakeLists.txt
parentaca1326e7e3cc4c06e29b92dca256673b46aa510 (diff)
downloadmeowcraft-46ab7c6c8af19dcf537cab25aa468f4afc403940.tar.zst
meowcraft-46ab7c6c8af19dcf537cab25aa468f4afc403940.zip
Fix for macOS
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e838b6f..7fb3c37 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,12 +3,11 @@ project(meowcraft)
 
 set(CMAKE_CXX_STANDARD 17)
 
-find_package(OpenGL REQUIRED)
 find_package(glfw3 3.3 REQUIRED)
 find_package(GLEW REQUIRED)
 
 add_executable(meowcraft src/main.cpp src/Window.cpp src/Window.hpp src/Mesh.cpp src/Mesh.hpp src/Math/Vector.hpp src/Math/Math.hpp src/Binder.cpp src/Binder.hpp src/Shader/ShaderSources.hpp src/Shader/Shader.cpp src/Shader/Shader.hpp src/Shader/ShaderProgram.cpp src/Shader/ShaderProgram.hpp)
-target_link_libraries(meowcraft glfw OpenGL GLEW::GLEW)
+target_link_libraries(meowcraft glfw GLEW::GLEW)
 
 function(make_includable input_file output_file)
     file(READ ${input_file} content)