Hail Mary fix to get working on Linux

This commit is contained in:
Jack 2024-08-24 00:19:14 -04:00
parent ae2db4bd76
commit 09f0c314f6
1 changed files with 11 additions and 2 deletions

View File

@ -9,7 +9,6 @@ find_package(GLEW CONFIG REQUIRED)
find_package(glfw3 CONFIG REQUIRED)
find_package(glm CONFIG REQUIRED)
find_package(assimp CONFIG REQUIRED)
find_package(TIFF REQUIRED)
# Set Debug and Release directories
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG "${CMAKE_BINARY_DIR}")
@ -50,7 +49,17 @@ else()
assimp::assimp
TIFF::TIFF
${CMAKE_SOURCE_DIR}/dependencies/FreeImage/lib/linux/libfreeimage.a
${CMAKE_SOURCE_DIR}/dependencies/FreeImage/lib/linux/libfreeimage-3.19.0.so
/vcpkg/installed/x64-linux/debug/lib/libtiffd.a
/vcpkg/installed/x64-linux/debug/lib/libjpeg.a
/vcpkg/installed/x64-linux/debug/lib/libz.a
/vcpkg/installed/x64-linux/debug/lib/liblzma.a
/usr/lib/x86_64-linux-gnu/libGL.so
/usr/lib/x86_64-linux-gnu/libGLU.so
/usr/lib/x86_64-linux-gnu/libX11.so
/usr/lib/x86_64-linux-gnu/libXext.so
-lm
-ldl
-lrt
)
endif()