Skip to content

Commit ca4c06b

Browse files
committed
Added system DPP dirs
1 parent e888483 commit ca4c06b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

SerialPrograms/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,7 @@ else() # macOS and Linux
455455
if (DPP_FOUND) # enable dpp integration
456456
target_compile_definitions(SerialProgramsLib PUBLIC PA_DPP)
457457
## to build against headers within this repo and properly set flags ##
458-
## don't enable the following line ##
459-
# target_include_directories(SerialProgramsLib PRIVATE ${DPP_INCLUDE_DIRS})
458+
target_include_directories(SerialProgramsLib SYSTEM PRIVATE ${DPP_INCLUDE_DIRS})
460459
target_link_directories(SerialProgramsLib PUBLIC ${DPP_LIBRARY_DIRS})
461460
target_link_libraries(SerialProgramsLib PUBLIC ${DPP_LIBRARIES})
462461
endif()

0 commit comments

Comments
 (0)