File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 44## Author Francois Michaut
55##
66## Started on Sun Aug 28 19:26:51 2022 Francois Michaut
7- ## Last update Thu Nov 23 18:30:41 2023 Francois Michaut
7+ ## Last update Sat Dec 2 10:33:43 2023 Francois Michaut
88##
99## CMakeLists.txt : CMake to build the CppSockets library
1010##
@@ -17,16 +17,16 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
1717option (BUILD_SHARED_LIBS "Build using shared libraries" ON )
1818
1919project (LibCppSockets VERSION 0.1.0 LANGUAGES C CXX)
20- configure_file (include /CppSockets/Version .hpp.in CppSockets/Version .hpp)
21-
22- include_directories (${CMAKE_CURRENT_BINARY_DIR} "${CMAKE_CURRENT_SOURCE_DIR} /include" )
20+ configure_file (include /CppSockets/Version .hpp.in include /CppSockets/Version .hpp)
2321
2422add_library (cppsockets
2523 source /Address.cpp
2624 source /IPv4.cpp
2725 source /Socket.cpp
2826 source /TlsSocket.cpp
2927)
28+ target_include_directories (cppsockets PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /include > $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR} /include >)
29+ # target_include_directories(cppsockets INTERFACE $<INSTALL_INTERFACE:include>)
3030
3131find_package (OpenSSL 3.0 COMPONENTS SSL)
3232target_link_libraries (cppsockets OpenSSL::SSL)
You can’t perform that action at this time.
0 commit comments