Skip to content

Commit

Permalink
Added target_include_directories for the ws target.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkorolev authored and Theldus committed Aug 8, 2024
1 parent 5c7dbfe commit e126c09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ add_library(ws
src/utf8.c
)

target_include_directories(ws INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")

if(WIN32)
target_link_libraries(ws pthread ws2_32 -static)
else()
Expand Down

0 comments on commit e126c09

Please sign in to comment.