diff --git a/CMakeLists.txt b/CMakeLists.txt index be81607..5691e26 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,9 +32,13 @@ file(GLOB IMGUI_SOURCES "${CMAKE_SOURCE_DIR}/imgui/backends/imgui_impl_glfw.cpp" "${CMAKE_SOURCE_DIR}/imgui/backends/imgui_impl_opengl3.cpp" ) +file(GLOB FREEIMAGE + "$ENV{VCPKG_ROOT}/installed/x64-linux/include/FreeImage.h" + "$ENV{VCPKG_ROOT}/installed/x64-linux/include/FreeImagePlus.h" +) # Add the executable -add_executable(TerraVisor ${SOURCES} ${HEADERS} ${IMGUI_SOURCES}) +add_executable(TerraVisor ${SOURCES} ${HEADERS} ${IMGUI_SOURCES} ${FREEIMAGE}) # Include directories (handled by find_package now) include_directories(