Skip to content

add include in cmake lists - #284

Open
Lixue9jiu wants to merge 5 commits into
lsalzman:masterfrom
Lixue9jiu:master
Open

add include in cmake lists#284
Lixue9jiu wants to merge 5 commits into
lsalzman:masterfrom
Lixue9jiu:master

Conversation

@Lixue9jiu

@Lixue9jiu Lixue9jiu commented Jul 5, 2026

Copy link
Copy Markdown

This allows the end user to do

add_subdirectory(enet)

target_link_libraries(Project
...
        enet
)

and get the include directories set up by CMake, without defining the include directory manually.
It provides better integration with the CMake build system.

@Lixue9jiu
Lixue9jiu marked this pull request as ready for review July 5, 2026 03:28
Comment thread CMakeLists.txt Outdated
@Croydon

Croydon commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Did you push the commit to a wrong branch?

@LLThreasher

Copy link
Copy Markdown

Did you push the commit to a wrong branch?

Yes. I didn't realize that's how GitHub work.

Lixue9jiu and others added 2 commits August 6, 2026 09:56
Co-authored-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
@Lixue9jiu
Lixue9jiu requested a review from bjorn August 6, 2026 01:59
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

Successfully merging this pull request may close these issues.

4 participants