Replies: 1 comment
-
Close this as it was my fault |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to add features support to wolfssl library to enable features not possible with the current library cmake build system. I used
vcpkg_check_features
to extract features intoFEATURE_OPTIONS
and used these options to configure theCmakeLists.txt
and transform them to macros definitions but the script uses yes/no options extensively instead of the famous ON/OFF whichvcpkg_check_features
also uses. I tried to replace each ON/OFF inFEATURE_OPTIONS
with yes/no usingstring(REPLACE)
but the result list is always empty. I triedlist(TRANSFORM REPLACE)
but it is not working either the list is empty ! I usedforeach
to copy to a new list and replace values but the list is still empty! I even checked each feature option one by one and built a features list according but … the result list is empty ! Is it impossible to build a cmake list inportfile.cmake
?Beta Was this translation helpful? Give feedback.
All reactions