Skip to content

Commit

Permalink
Mark as system
Browse files Browse the repository at this point in the history
  • Loading branch information
white238 committed Sep 3, 2019
1 parent ff2905c commit 3b46347
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/cmake/thirdparty/SetupAxomThirdParty.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ endif()
################################
if (CONDUIT_DIR)
include(cmake/thirdparty/FindConduit.cmake)

# Manually set includes as system includes
set_property(TARGET conduit::conduit
APPEND PROPERTY INTERFACE_SYSTEM_INCLUDE_DIRECTORIES
"${CONDUIT_INSTALL_PREFIX}/include/")

set_property(TARGET conduit::conduit
APPEND PROPERTY INTERFACE_SYSTEM_INCLUDE_DIRECTORIES
"${CONDUIT_INSTALL_PREFIX}/include/conduit/")
else()
message(STATUS "Conduit support is OFF")
endif()
Expand Down

0 comments on commit 3b46347

Please sign in to comment.