Commit 1aef78d6 authored by Leander Schulten's avatar Leander Schulten
Browse files

test new Neumanns lösung

parent a693c34f
Pipeline #448795 failed with stage
in 2 minutes and 15 seconds
......@@ -17,8 +17,10 @@ build:
- cp x64-linux-windows-static.cmake ./vcpkg/triplets/community
# - sed -i /CMAKE_MODULE_PATH/d $CMAKE_TOOLCHAIN_FILE
- cat $CMAKE_TOOLCHAIN_FILE
- sed -i "s/find_path(Boost_INCLUDE_DIR/find_path(Boost_INCLUDE_DIR NO_CMAKE_FIND_ROOT_PATH/" /usr/src/mxe/usr/x86_64-pc-linux-gnu/share/cmake-3.19/Modules/FindBoost.cmake
- cat /usr/src/mxe/usr/x86_64-pc-linux-gnu/share/cmake-3.19/Modules/FindBoost.cmake
# - unset CMAKE_TOOLCHAIN_FILE
#- ./vcpkg/vcpkg install --triplet=x64-linux-windows-static --feature-flags=manifests
# - ./vcpkg/vcpkg install --triplet=x64-linux-windows-static --feature-flags=manifests
- cd src/lib
- ./build_libs.sh
- cd ../..
......
......@@ -30,6 +30,16 @@ set(CMAKE_AUTOUIC ON)
# list(POP_FRONT CMAKE_FIND_ROOT_PATH MXE_PATH)
# list(APPEND CMAKE_FIND_ROOT_PATH ${MXE_PATH})
#endif()
set(BOOST_ROOT ${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET})
set(BOOST_INCLUDEDIR "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include")
set(Boost_LIBRARY_DIR "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib")
message(STATUS "BOOST_ROOT ${BOOST_ROOT}")
#set(Boost_DIR ${_VCPKG_INSTALLED_DIR}) # don't set this one.
set(Boost_NO_SYSTEM_PATHS ON)
set(Boost_NO_BOOST_CMAKE ON) # additional set this one
set(Boost_DEBUG ON)
execute_process(COMMAND ls -al /builds/leander.schulten/Lichtsteuerung/build/vcpkg_installed/x64-linux-windows-static/lib)
find_package(Qt5
COMPONENTS Qml Quick Network Widgets NetworkAuth WebSockets
......
Subproject commit d2864522bcab91d8c86f1285545aa78e3b417378
Subproject commit 4abcef27e03e7456d189ce9b4f8ac9aee4201e7d
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment