You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux guy here, trying to understand how to integrate this package in my build enviroment based on cmake. Basically, cmake's find_package(FLEX) and find_package(BISON) macros work, but the FLEX_INCLUDE_DIR is not populated so FlexLexer.h is not found during build. I assume this is because the shim for the executables works as expected (Flex is found as C:/ProgramData/chocolatey/bin/win_flex.exe) but the header is not in the same directory.
Anyone has an hint for me about the best way to fix this?
The text was updated successfully, but these errors were encountered:
As the unzip of the package should directly create the header next to the binaries - I have no clue. But the chocolatey docs says the correct place to ask is https://gitter.im/chocolatey/choco - you may want to try this.
I am the OP. To date we are still manually adding C:\ProgramData\chocolatey\lib\winflexbison3\tools to PATH before running cmake. This way FLEX_INCLUDE_DIR is correctly populated. I am considering opening an issue with cmake to add some chcolatey specific search logic. Do anyone know if the installation path for chocolatey is always the same (C:\ProgramData\chocolatey)?
Issue from Gianluca Sforna:
Anyone has an hint for me about the best way to fix this?
The text was updated successfully, but these errors were encountered: