Skip to content

Commit e39c216

Browse files
authored
Fix: typo for PROJECT_IS_TOP_LEVEL for building examples (#2291)
This PR fixes a typo in the CMake variable name `PROJECT_IS_TOP_LEVEL` so we can properly detect how to link Morpheus when building the examples as part of Morpheus or separately. Closes #2276 ## By Submitting this PR I confirm: - I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md). - When the PR is ready for review, new or existing tests cover these changes. - When the PR is ready for review, the documentation is up to date with these changes. Authors: - Will Killian (https://github.com/willkill07) Approvers: - David Gardner (https://github.com/dagardner-nv) URL: #2291
1 parent 0d75d27 commit e39c216

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/data_loss_prevention/dlp_stages/_lib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
list(APPEND CMAKE_MESSAGE_CONTEXT "dlp_regex_processor")
1717

18-
if(PROJECT_IS_TOPLEVEL)
18+
if(PROJECT_IS_TOP_LEVEL)
1919
find_library(MORPHEUS morpheus REQUIRED)
2020
else()
2121
set(MORPHEUS morpheus)

examples/developer_guide/3_simple_cpp_stage/src/simple_cpp_stage/_lib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
list(APPEND CMAKE_MESSAGE_CONTEXT "pass_thru_cpp_stage")
1717

18-
if(PROJECT_IS_TOPLEVEL)
18+
if(PROJECT_IS_TOP_LEVEL)
1919
find_library(MORPHEUS morpheus REQUIRED)
2020
else()
2121
set(MORPHEUS morpheus)

examples/developer_guide/4_rabbitmq_cpp_stage/src/rabbitmq_cpp_stage/_lib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
list(APPEND CMAKE_MESSAGE_CONTEXT "rabbitmq_cpp_stage")
1717

18-
if(PROJECT_IS_TOPLEVEL)
18+
if(PROJECT_IS_TOP_LEVEL)
1919
find_library(MORPHEUS morpheus REQUIRED)
2020
else()
2121
set(MORPHEUS morpheus)

0 commit comments

Comments
 (0)