Test FreeImage on Linux
This commit is contained in:
parent
958da0d730
commit
752e125c91
|
@ -12,13 +12,6 @@ build:
|
|||
stage: build
|
||||
script:
|
||||
# Set the VCPKG_TOOLCHAIN environment variable
|
||||
- ls /vcpkg
|
||||
- ls /vcpkg/installed/x64-linux
|
||||
- ls /vcpkg/installed/x64-linux/lib
|
||||
- ls /vcpkg/installed/x64-linux/include
|
||||
- ls /vcpkg/packages
|
||||
- ls /vcpkg/packages/freeimage_x64-linux
|
||||
- ls /vcpkg/packages/freeimage_x64-linux/lib
|
||||
- export VCPKG_TOOLCHAIN=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake
|
||||
- mkdir -p build
|
||||
- cmake -B build -S . -G Ninja -DCMAKE_TOOLCHAIN_FILE=$VCPKG_TOOLCHAIN
|
||||
|
|
|
@ -14,7 +14,7 @@ if (WIN32)
|
|||
else()
|
||||
set(VCPKG_ROOT "/vcpkg")
|
||||
set(FreeImage_INCLUDE_DIR ${VCPKG_ROOT}/packages/freeimage_x64-linux/include)
|
||||
set(FreeImage_LIBRARIES ${VCPKG_ROOT}/packages/freeimage_x64-linux/lib/FreeImage.a)
|
||||
set(FreeImage_LIBRARIES ${VCPKG_ROOT}/packages/freeimage_x64-linux/lib/libFreeImage.a)
|
||||
endif()
|
||||
|
||||
#include(C:/users/jmchr/vcpkg/scripts/buildsystems/vcpkg.cmake)
|
||||
|
|
Loading…
Reference in New Issue