Typo in CMakeLists

This commit is contained in:
Jack 2024-08-24 00:16:39 -04:00
parent 5b93c79ad7
commit ae2db4bd76
1 changed files with 9 additions and 1 deletions

View File

@ -43,7 +43,15 @@ link_directories(${CMAKE_SOURCE_DIR}/dependencies/FreeImage/lib)
if (WIN32)
target_link_libraries(TerraVisor PRIVATE GLEW::GLEW glfw glm::glm assimp::assimp ${CMAKE_SOURCE_DIR}/dependencies/FreeImage/lib/FreeImage.lib)
else()
target_link_libraries(TerraVisor PRIVATE GLEW::GLEW glfw glm::glm assimp::assimp TIFF::TIFF ${CMAKE_SOURCE_DIR}/dependencies/FreeImage/lib/linux/libfreeimage.a)
target_link_libraries(TerraVisor PRIVATE
GLEW::GLEW
glfw
glm::glm
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
)
endif()
# Custom targets