1
0

add commentaries for what need to be provided in order to compile

This commit is contained in:
Niklas Birk 2022-05-21 22:41:33 +02:00
parent 06889c982a
commit c4396f43d2

View File

@ -40,11 +40,11 @@ IF (DEFINED WINDOWS)
ENDIF() ENDIF()
# Linking # 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 ./glfw/lib-mingw-w64/libglfw3.a)
target_link_libraries(Informatikprojekt_OpenGL ./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) 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::GL glfw)
target_link_libraries(Informatikprojekt_OpenGL OpenGL::GL glfw) target_link_libraries(Informatikprojekt_OpenGL OpenGL::GL glfw)
target_link_libraries(Informatikprojekt_Vulkan Vulkan::Vulkan glfw) target_link_libraries(Informatikprojekt_Vulkan Vulkan::Vulkan glfw)