Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is <gumbo.h> located at in the src folder? i have my own cmake workspace and just need the source code #38

Open
ghost opened this issue Sep 13, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 13, 2020

No description provided.

@ghost
Copy link
Author

ghost commented Sep 13, 2020

@ghost
Copy link
Author

ghost commented Sep 13, 2020

Found the solution. Install gumbo parser through your own pkg manager (for me it is pacman), find the static library "/usr/lib/libgumbo.so" and than target link it like

include_directories(${Gumbo_INCLUDE_DIRS})

ADD_LIBRARY(gumbo_lib STATIC IMPORTED)
SET_TARGET_PROPERTIES(gumbo_lib PROPERTIES IMPORTED_LOCATION /usr/lib/libgumbo.so)

target_link_libraries( ${MAIN_EXE_NAME} gumbo_lib )

@cppcooper
Copy link

That isn't a static library. It is a shared library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant