From c4396f43d26c6a4e4fe84e5729839fa1ba976a2c Mon Sep 17 00:00:00 2001 From: Niklas Date: Sat, 21 May 2022 22:41:33 +0200 Subject: [PATCH] add commentaries for what need to be provided in order to compile --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d5c6419..dcbeb69 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,11 +40,11 @@ IF (DEFINED WINDOWS) ENDIF() # Linking -IF (DEFINED WINDOWS) +IF (DEFINED WINDOWS) # glfw windowsbinaries are provided by project target_link_libraries(Informatikprojekt ./glfw/lib-mingw-w64/libglfw3.a) target_link_libraries(Informatikprojekt_OpenGL ./glfw/lib-mingw-w64/libglfw3.a) target_link_libraries(Informatikprojekt_Vulkan Vulkan::Vulkan ./glfw/lib-mingw-w64/libglfw3.a) -ELSE() +ELSE() # libglfw must be provided (e.g. with apt) target_link_libraries(Informatikprojekt OpenGL::GL glfw) target_link_libraries(Informatikprojekt_OpenGL OpenGL::GL glfw) target_link_libraries(Informatikprojekt_Vulkan Vulkan::Vulkan glfw)