We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14223a9 commit 42d7a60Copy full SHA for 42d7a60
CMakeLists.txt
@@ -399,6 +399,7 @@ endif ()
399
#------------------------------------------------------------------------
400
set(name tidy-static)
401
add_library ( ${name} STATIC ${CFILES} ${HFILES} ${LIBHFILES} )
402
+target_include_directories( ${name} PUBLIC "${PROJECT_SOURCE_DIR}/include")
403
if (WIN32)
404
set_target_properties( ${name} PROPERTIES
405
OUTPUT_NAME ${LIB_NAME}_static )
@@ -427,6 +428,7 @@ if (BUILD_SHARED_LIB)
427
428
set(CMAKE_MACOSX_RPATH 1)
429
endif ()
430
add_library ( ${name} SHARED ${CFILES} ${HFILES} ${LIBHFILES} )
431
+ target_include_directories( ${name} PUBLIC "${PROJECT_SOURCE_DIR}/include")
432
433
OUTPUT_NAME ${LIB_NAME} )
434
0 commit comments