that needs to be public actually

This commit is contained in:
Nadia Holmquist Pedersen 2024-05-15 19:43:34 +02:00
parent cfc49eb286
commit a72b79a55a
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ set(SOURCES
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/src/libslirp-version.h.in" "${CMAKE_CURRENT_BINARY_DIR}/libslirp-version.h")
add_library(slirp STATIC ${SOURCES})
target_compile_definitions(slirp PRIVATE LIBSLIRP_STATIC_BUILD)
target_compile_definitions(slirp PUBLIC LIBSLIRP_STATIC_BUILD)
target_include_directories(slirp PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/glib")
target_include_directories(slirp PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")