Skip to content

Commit

Permalink
Fix remarks in CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-perevezentsev committed Apr 6, 2023
1 parent 554e978 commit a8950c5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions dpnp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ function(build_dpnp_cython_ext _trgt _src _dest)
-P ${CMAKE_SOURCE_DIR}/dpnp/cmake/copy_existing.cmake
DEPENDS ${_trgt}
VERBATIM
COMMENT "Copying Cython-generated source to dpnp"
COMMENT "Copying Cython-generated source for target ${_trgt} to dpnp source layout"
)
endif()
install(TARGETS ${_trgt} LIBRARY DESTINATION ${_dest})
endfunction()

function(build_dpnp_cython_ext_with_backend _trgt _src _dest)
build_dpnp_cython_ext(${_trgt} ${_src} ${_dest})
target_link_libraries(${_trgt} dpnp_backend_library)
if (UNIX)
set_target_properties(${_trgt} PROPERTIES INSTALL_RPATH "$ORIGIN/..")
endif()
build_dpnp_cython_ext(${_trgt} ${_src} ${_dest})
target_link_libraries(${_trgt} dpnp_backend_library)
if (UNIX)
set_target_properties(${_trgt} PROPERTIES INSTALL_RPATH "$ORIGIN/..")
endif()
endfunction()


Expand Down

0 comments on commit a8950c5

Please sign in to comment.