Olivier Le Doeuff
Olivier Le Doeuff
You should use `YAML_CPP_MAIN_PROJECT ` for consistency. https://github.com/jbeder/yaml-cpp/blob/c73ee34704c512ebe915b283645aefa9f424a22f/CMakeLists.txt#L12-L15
Yes but don't you think ```cmake cmake_dependent_option(YAML_CPP_FORMAT_SOURCE "Enable format target" ON "CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR" OFF) ``` would make more sense? It would ease integration with `FetchContent`, `CPM`, etc...
Oh yes I didn't know `cmake_dependent_option` couldn't be overridable. Then following code is the best option: ```cmake option(YAML_CPP_FORMAT_SOURCE "Format source" ${YAML_CPP_MAIN_PROJECT}) ``` That would also be consistent with what have...
This is the new build system issue Try adding -Tbuildsystem=1 to your cmake command. I think this is due to a path that is too long Long.
What I do to support use case of library doing `find_package`, but you want to provide your target: ``` # In the library CMakeLists if(NOT TARGET my_target) find_package(my_target) endif() ```...
I didn't dig in the code or tried myself, but this is my general goto solution if the `find_package` return a target, and the rest of the cmake script depends...
Yes qt app in Ubuntu 20
I tested Ubuntu 18 it was working as expected.
Hello, any hint on how to replace the AppRun? I'm using the command `linuxdeployqt -appimage`
Thank, i followed the wiki. Ended up with something like that: ``` #!/bin/bash HERE="$(dirname "$(readlink -f "${0}")")" export LD_LIBRARY_PATH="" export QT_PLUGIN_PATH="" export QML2_IMPORT_PATH="" exec "${HERE}/usr/bin/QaterialGallery" "$@" ``` I wrapped it...