emzeat / xdispatch2

Grand Central Dispatch like C++ threading library built around queues, thread pools and flexible backends
https://emzeat.de/xdispatch2
Apache License 2.0
12 stars 2 forks source link

conan fails when running under haiku #5

Closed eblanca closed 7 months ago

eblanca commented 7 months ago

I'm trying to build xdispatch under haiku, so cloned xdispatch repository and installed conan 2.2.2 using pip, then also mz-cmaketools (into build/ ) but this is the fail:

cmake_failure_due_to_conan_2 2 2_running_in_haiku

It seems conan cannot detect the environment (it doesn't know anything about haiku) and stops. Any hints? (I know here you don't develop/fix conan, but maybe I can workaround this issue and do the build avoiding conan, or even fooling it)

emzeat commented 7 months ago

Yeah you would need to manually define a matching conan profile in build/Conan and update build/conan.cmake to pick it accordingly. I opted to not use Conan's auto detection but manually maintain the profiles.

Alternatively you can try disabling the inclusion of conan.cmake in CMakeLists.txt:30

emzeat commented 7 months ago

Resolved by cba7f72: