Skip to content

Commit

Permalink
pip install supermesh?
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed Oct 28, 2024
1 parent 44ed1f9 commit 85ca427
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ endif()

target_link_libraries(supermesh PUBLIC ${link_libraries})
#~ set_target_properties(supermesh PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE)
#~ set_target_properties(supermesh PROPERTIES INSTALL_RPATH ${link_libraries})
set_target_properties(supermesh PROPERTIES INSTALL_RPATH "$ORIGIN/../Rtree.libs")
set_target_properties(supermesh PROPERTIES LINK_FLAGS "${MPI_Fortran_LINK_FLAGS}")
if(${SKBUILD} STREQUAL 2)
# use, i.e. don't skip the full RPATH for the build tree
Expand Down Expand Up @@ -276,7 +276,6 @@ endif()
if(${SKBUILD} STREQUAL 2)
install(TARGETS supermesh DESTINATION supermesh)
install(DIRECTORY ${LIBSUPERMESH_BINARY_DIR}/include DESTINATION supermesh)
install(FILES ${LIBSUPERMESH_BINARY_DIR}/config/libsupermesh.pc DESTINATION supermesh/lib/pkgconfig)
else()
install(TARGETS supermesh DESTINATION lib)
install(DIRECTORY ${LIBSUPERMESH_BINARY_DIR}/include DESTINATION ${CMAKE_INSTALL_PREFIX})
Expand Down

0 comments on commit 85ca427

Please sign in to comment.