-
-
Notifications
You must be signed in to change notification settings - Fork 446
Doesn't work with openssl dependency #223
Comments
this is an issue with Conan.cmake with this file https://github.com/aminya/project_options/blob/main/src/Conan.cmake it assumes the C compiler and c++ compiler don't have any spaces in their path by default. if you pass
to dynamic_project_options your issue should go away |
@exief I updated the repo with your suggestion and also simplified it a bit(removed other dependencies etc.) but sadly it still does not work. Also I had to get the latest project_options from main branch otherwise CONAN_PROFILE setting is not there yet |
looking at your most recent CI run https://github.com/DominicD/justAOpenSSLCompileTest/runs/6484176236?check_suite_focus=true looks like it's trying to use llvm not msvc and it's failing in libjpeg not openssl anymore |
Well I have no Idea why it does that. Cmake call looks fine "Run cmake -S . -B ./build -G "Visual Studio 17 2022 ..." it looks like it uses msvc. and also libjpeg is nowhere referenced. Also the ci is still the one from the template. |
It seems there might be an issue with Conan or openssl and visual studio 2022: openssl/openssl#18299 |
Hi I tried to use this however when I add openssl as a dependency it does not compile on windows. I used the template to create a new repo and the only thing I changed was to add openssl: commit
It then fails all windows builds e.g.: Test (windows-2022, msvc, Visual Studio 17 2022, Debug, On)
If I just use a minimal conanfile.txt:
And call
conan install . --install-folder build --build=missing -s build_type=Debug -s cppstd=20
it all works fine.It seems to me that somehow the parameters that are passed to conan are wrong
The text was updated successfully, but these errors were encountered: