Skip to content

Commit

Permalink
Improve Package1 raw configure message (TriBITSPub#582)
Browse files Browse the repository at this point in the history
This improves the message as suggested by @masterleinad in the review of PR
configured "within a TriBITS project" but is not really being configured "with
TriBITS".  (Package1 is being configured with 100% raw CMake, it just happens
to be configured under a TriBITS project.)
  • Loading branch information
bartlettroscoe committed Oct 9, 2023
1 parent a9eb92e commit ca31001
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ function(TribitsExampleProject2_find_package sharedOrStatic package1TribitsOrR
elseif (package1TribitsOrRawCMake STREQUAL "PACKAGE1_USE_RAW_CMAKE")
set(package1UseRawCMakeArgs "-D Package1_USE_RAW_CMAKE=TRUE")
set(testNameSuffix "_${package1TribitsOrRawCMake}")
set(package1ConfigRegex "Configuring raw CMake package Package1")
set(package1ConfigRegex "Configuring raw CMake package Package1 within a TriBITS project")
else()
message(FATAL_ERROR "package1UseRawCMakeArgs='${package1UseRawCMakeArgs}' Invalid!")
endif()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.23.0 FATAL_ERROR)

if (COMMAND tribits_package)
message("Configuring raw CMake package Package1")
message("Configuring raw CMake package Package1 within a TriBITS project")
else()
message("Configuring raw CMake project Package1")
endif()
Expand Down

0 comments on commit ca31001

Please sign in to comment.