1 project(libsocket_wrapper C)
3 include_directories(${CMAKE_BINARY_DIR})
4 add_library(socket_wrapper SHARED socket_wrapper.c)
6 target_link_libraries(socket_wrapper ${SWRAP_REQUIRED_LIBRARIES})
11 RUNTIME DESTINATION ${BIN_INSTALL_DIR}
12 LIBRARY DESTINATION ${LIB_INSTALL_DIR}
13 ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
16 set_target_properties(
25 # This needs to be at the end
26 get_target_property(SWRAP_LOCATION socket_wrapper LOCATION)
27 set(SOCKET_WRAPPER_LOCATION ${SWRAP_LOCATION} PARENT_SCOPE)