Skip to content

Commit 3afe710

Browse files
Changes according to first review.
1 parent fded403 commit 3afe710

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ if(DEFINED SKBUILD_METADATA_DIR)
461461
DESTINATION "${SKBUILD_METADATA_DIR}/licenses"
462462
RENAME "PYLON_LICENSE.txt")
463463
else()
464-
message(WARNING "Pylon license not found at: ${PYLON_LICENSE_DIR}")
464+
message(FATAL_ERROR "Pylon license not found at: ${PYLON_LICENSE_DIR}")
465465
endif()
466466

467467
# Install third-party licenses
@@ -471,7 +471,7 @@ if(DEFINED SKBUILD_METADATA_DIR)
471471
DESTINATION "${SKBUILD_METADATA_DIR}/licenses"
472472
RENAME "PYLON_THIRD_PARTY_LICENSES.txt")
473473
else()
474-
message(WARNING "Pylon third-party license not found at: ${PYLON_LICENSE_DIR}")
474+
message(FATAL_ERROR "Pylon third-party license not found at: ${PYLON_LICENSE_DIR}")
475475
endif()
476476
else()
477477
message(WARNING "SKBUILD_METADATA_DIR not defined")

0 commit comments

Comments
 (0)