File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 78
78
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wpedantic -std=c11" )
79
79
endif ()
80
80
81
- include_directories (${PROJECT_BINARY_DIR} /src ${PROJECT_SOURCE_DIR} /src ${PROJECT_SOURCE_DIR} /src/plugins_exts )
81
+ include_directories (${PROJECT_BINARY_DIR} /libyang ${PROJECT_SOURCE_DIR} /src ${PROJECT_SOURCE_DIR} /src/plugins_exts )
82
82
83
83
# type plugins are separate because they have their documentation generated
84
84
set (type_plugins
@@ -205,16 +205,16 @@ set(internal_headers
205
205
src/xpath.h )
206
206
207
207
set (gen_headers
208
- src/ version.h
209
- src/ ly_config.h )
208
+ version .h
209
+ ly_config.h )
210
210
211
211
# files to generate doxygen from
212
212
set (doxy_files
213
213
doc /build.dox
214
214
doc /transition_1_2.dox
215
215
doc /transition_2_3.dox
216
216
${headers}
217
- ${PROJECT_BINARY_DIR} /src /version.h
217
+ ${PROJECT_BINARY_DIR} /libyang /version.h
218
218
${type_plugins} )
219
219
220
220
# project (doxygen) logo
@@ -322,8 +322,8 @@ if ("${BUILD_TYPE_UPPER}" STREQUAL "DEBUG")
322
322
endif ()
323
323
324
324
# generate files
325
- configure_file (${PROJECT_SOURCE_DIR} /src/ly_config.h.in ${PROJECT_BINARY_DIR} /src /ly_config.h @ONLY )
326
- configure_file (${PROJECT_SOURCE_DIR} /src/version.h.in ${PROJECT_BINARY_DIR} /src /version.h @ONLY )
325
+ configure_file (${PROJECT_SOURCE_DIR} /src/ly_config.h.in ${PROJECT_BINARY_DIR} /libyang /ly_config.h @ONLY )
326
+ configure_file (${PROJECT_SOURCE_DIR} /src/version.h.in ${PROJECT_BINARY_DIR} /libyang /version.h @ONLY )
327
327
328
328
# DOC-only target with no extra dependencies
329
329
if ("${BUILD_TYPE_UPPER} " STREQUAL "DOCONLY" )
@@ -409,7 +409,7 @@ target_link_libraries(yang ${PCRE2_LIBRARIES})
409
409
410
410
# generated header list
411
411
foreach (h IN LISTS gen_headers )
412
- list (APPEND g_headers ${PROJECT_BINARY_DIR} /${h} )
412
+ list (APPEND g_headers ${PROJECT_BINARY_DIR} /libyang/ ${h} )
413
413
endforeach ()
414
414
415
415
# install the modules
You can’t perform that action at this time.
0 commit comments