File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -399,6 +399,7 @@ endif ()
399
399
#------------------------------------------------------------------------
400
400
set (name tidy-static )
401
401
add_library ( ${name} STATIC ${CFILES} ${HFILES} ${LIBHFILES} )
402
+ target_include_directories ( ${name} PUBLIC "${PROJECT_SOURCE_DIR} /include" )
402
403
if (WIN32 )
403
404
set_target_properties ( ${name} PROPERTIES
404
405
OUTPUT_NAME ${LIB_NAME} _static )
@@ -427,6 +428,7 @@ if (BUILD_SHARED_LIB)
427
428
set (CMAKE_MACOSX_RPATH 1 )
428
429
endif ()
429
430
add_library ( ${name} SHARED ${CFILES} ${HFILES} ${LIBHFILES} )
431
+ target_include_directories ( ${name} PUBLIC "${PROJECT_SOURCE_DIR} /include" )
430
432
set_target_properties ( ${name} PROPERTIES
431
433
OUTPUT_NAME ${LIB_NAME} )
432
434
set_target_properties ( ${name} PROPERTIES
You can’t perform that action at this time.
0 commit comments