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 ()
399399#------------------------------------------------------------------------
400400set (name tidy-static )
401401add_library ( ${name} STATIC ${CFILES} ${HFILES} ${LIBHFILES} )
402+ target_include_directories ( ${name} PUBLIC "${PROJECT_SOURCE_DIR} /include" )
402403if (WIN32 )
403404 set_target_properties ( ${name} PROPERTIES
404405 OUTPUT_NAME ${LIB_NAME} _static )
@@ -427,6 +428,7 @@ if (BUILD_SHARED_LIB)
427428 set (CMAKE_MACOSX_RPATH 1)
428429 endif ()
429430 add_library ( ${name} SHARED ${CFILES} ${HFILES} ${LIBHFILES} )
431+ target_include_directories ( ${name} PUBLIC "${PROJECT_SOURCE_DIR} /include" )
430432 set_target_properties ( ${name} PROPERTIES
431433 OUTPUT_NAME ${LIB_NAME} )
432434 set_target_properties ( ${name} PROPERTIES
You can’t perform that action at this time.
0 commit comments