Skip to content

Commit

Permalink
Install cmake libs even when MORPHEUS_PYTHON_INPLACE_BUILD is true, s…
Browse files Browse the repository at this point in the history
…ince the conda build script sets this
  • Loading branch information
dagardner-nv committed Jan 8, 2024
1 parent 8abeb58 commit 33169c6
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions morpheus/_lib/cmake/libmorpheus.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -208,22 +208,18 @@ set(doc_string
Provide targets for mrc.
]=])

set(code_string "")

set(rapids_project_version_compat SameMinorVersion)

if(NOT MORPHEUS_PYTHON_INPLACE_BUILD)
# Install cmake helper scripts needed to build examples
set(cmake_lib_dir "${lib_dir}/cmake/morpheus")
# Install cmake helper scripts needed to build examples
set(cmake_lib_dir "${lib_dir}/cmake/morpheus")

install(DIRECTORY
"${MORPHEUS_UTILS_ROOT_PATH}"
DESTINATION "${cmake_lib_dir}"
COMPONENT Core
)
install(DIRECTORY
"${MORPHEUS_UTILS_ROOT_PATH}"
DESTINATION "${cmake_lib_dir}"
COMPONENT Core
)

string(APPEND code_string "include(morpheus_utils/load)\n")
endif()
set(code_string "include(morpheus_utils/load)")

# Need to explicitly set VERSION ${PROJECT_VERSION} here since rapids_cmake gets
# confused with the `RAPIDS_VERSION` variable we use
Expand Down

0 comments on commit 33169c6

Please sign in to comment.