Try adding FreeImage to source files
This commit is contained in:
parent
2df0bff067
commit
6b06d8651a
|
@ -32,9 +32,13 @@ file(GLOB IMGUI_SOURCES
|
||||||
"${CMAKE_SOURCE_DIR}/imgui/backends/imgui_impl_glfw.cpp"
|
"${CMAKE_SOURCE_DIR}/imgui/backends/imgui_impl_glfw.cpp"
|
||||||
"${CMAKE_SOURCE_DIR}/imgui/backends/imgui_impl_opengl3.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 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 (handled by find_package now)
|
||||||
include_directories(
|
include_directories(
|
||||||
|
|
Loading…
Reference in New Issue