File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,17 @@ cmake_minimum_required(VERSION 3.2)
33
44set (CMAKE_CXX_STANDARD 17)
55set (CMAKE_CXX_EXTENSIONS OFF )
6+ set (CPP_STATSD_CLIENT_DIR ${CMAKE_CURRENT_SOURCE_DIR} /include /cpp-statsd-client)
67
7- include_directories (${CMAKE_CURRENT_SOURCE_DIR} / include /cpp-statsd-client )
8+ include_directories (${CPP_STATSD_CLIENT_DIR} )
89
9- install (FILES UDPSender.hpp StatsdClient.hpp DESTINATION include )
10+ install (DIRECTORY ${CPP_STATSD_CLIENT_DIR} DESTINATION include )
1011
1112find_package (Threads)
1213add_executable (testStatsdClient ${CMAKE_CURRENT_SOURCE_DIR} /tests/testStatsdClient.cpp)
1314target_link_libraries (testStatsdClient ${CMAKE_THREAD_LIBS_INIT} )
1415
1516enable_testing ()
16- add_test (testSuite testStatsdClient)
17+ add_test (testSuite testStatsdClient)
18+
19+ unset (CPP_STATSD_CLIENT_DIR)
You can’t perform that action at this time.
0 commit comments