mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-02 04:37:54 +08:00
Fix building, using correct assimp library path, on Linux (Debian).
This commit is contained in:
@@ -38,7 +38,7 @@ elseif(UNIX AND NOT APPLE)
|
||||
find_package(X11 REQUIRED)
|
||||
# note that the order is important for setting the libs
|
||||
# use pkg-config --libs $(pkg-config --print-requires --print-requires-private glfw3) in a terminal to confirm
|
||||
set(LIBS ${GLFW3_LIBRARY} X11 Xrandr Xinerama Xi Xxf86vm Xcursor GL dl pthread assimp)
|
||||
set(LIBS ${GLFW3_LIBRARY} X11 Xrandr Xinerama Xi Xxf86vm Xcursor GL dl pthread ${ASSIMP_LIBRARY})
|
||||
elseif(APPLE)
|
||||
INCLUDE_DIRECTORIES(/System/Library/Frameworks)
|
||||
FIND_LIBRARY(COCOA_LIBRARY Cocoa)
|
||||
|
||||
Reference in New Issue
Block a user