File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -4,17 +4,17 @@ project (StatsdClient)
4
4
set (StatsdClient_VERSION_MAJOR 1 )
5
5
set (StatsdClient_VERSION_MINOR 0 )
6
6
7
- include_directories ("${PROJECT_SOURCE_DIR} / src" )
8
- add_subdirectory (src )
7
+ include_directories ("src" )
8
+ add_subdirectory (" src" )
9
9
10
10
configure_file (
11
- "${PROJECT_SOURCE_DIR} / src/StatsdClientConfig.h.in"
12
- "${PROJECT_BINARY_DIR} / StatsdClientConfig.h"
11
+ "src/StatsdClientConfig.h.in"
12
+ "StatsdClientConfig.h"
13
13
)
14
14
15
- target_compile_features ( StatsdClient PRIVATE cxx_nullptr )
15
+ set_property ( SOURCE "StatsdClientConfig.h" PROPERTY GENERATED TRUE )
16
16
17
- include_directories ( " ${PROJECT_BINARY_DIR} " )
17
+ target_compile_features ( StatsdClient PRIVATE cxx_nullptr )
18
18
19
19
install (FILES "${PROJECT_BINARY_DIR} /StatsdClientConfig.h"
20
20
DESTINATION include )
Original file line number Diff line number Diff line change 1
1
add_library (StatsdClient statsd_client.cpp )
2
2
3
- include_directories (" ${PROJECT_BINARY_DIR} " )
3
+ include_directories (${PROJECT_BINARY_DIR} )
4
4
5
5
install (TARGETS StatsdClient DESTINATION lib )
6
6
install (FILES statsd_client.h DESTINATION include )
You can’t perform that action at this time.
0 commit comments