I am using ZMQ in my multiplatform project. It com...
# kotlin-native
l
I am using ZMQ in my multiplatform project. It compiles fine on Linux, but on Windows it tries to compile for Linux as well and there are no path to zmq.h file and so files. Anz idea how to solve it? I see option 1, include zmq in my project to be present on Windows, option 2, not using build on Windows, but compile...Windows and link...Windows tasks. Or any better option is possible?
m
You can configure build for host platform only - something like this: https://github.com/msink/hello-libui/blob/63e42ef9bd76d7f8c4dbff3f7fae5757e899c6a5/build.gradle.kts#L13