Skip to content

Commit

Permalink
Pike: Remove usage of deprecated include_directories() (TriBITSPub/Tr…
Browse files Browse the repository at this point in the history
…iBITS#429)

The deprecated TriBITS macro include_directories() now issues a CMake
Deprecation warning.  The fix is to use tribits_include_directories() instead
and use raw CMake include_directories() where that is the behavior you want.
  • Loading branch information
bartlettroscoe committed Dec 19, 2022
1 parent 84051d4 commit 0b933e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions blackbox/test/core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
INCLUDE_DIRECTORIES(REQUIRED_DURING_INSTALLATION_TESTING ${CMAKE_CURRENT_SOURCE_DIR}/../models)
TRIBITS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
TRIBITS_INCLUDE_DIRECTORIES(REQUIRED_DURING_INSTALLATION_TESTING ${CMAKE_CURRENT_SOURCE_DIR}/../models)

SET(UNIT_TEST_DRIVER ${TEUCHOS_STD_UNIT_TEST_MAIN})

Expand Down
2 changes: 1 addition & 1 deletion blackbox/test/models/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
TRIBITS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
SET_AND_INC_DIRS(DIR ${CMAKE_CURRENT_SOURCE_DIR})
SET(HEADERS "")
SET(NOINSTALLHEADERS "")
Expand Down

0 comments on commit 0b933e6

Please sign in to comment.