summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 34eb638..e8ec16e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,9 +1,9 @@
project(libsocket_wrapper C)
-include_directories(${CMAKE_BINARY_DIR})
-
add_library(socket_wrapper SHARED socket_wrapper.c)
-
+target_include_directories(socket_wrapper
+ PRIVATE
+ ${CMAKE_BINARY_DIR})
target_compile_options(socket_wrapper
PRIVATE
${DEFAULT_C_COMPILE_FLAGS}