add commentaries for what need to be provided in order to compile
This commit is contained in:
parent
06889c982a
commit
c4396f43d2
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user