Skip to content

Commit

Permalink
Get rid of nomp.pc.in
Browse files Browse the repository at this point in the history
Also, minor refactoring in CMakeLists.txt.
  • Loading branch information
thilinarmtb committed Oct 25, 2024
1 parent c9d88b7 commit c69d058
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,9 @@ endif()

install(TARGETS nomp LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_PREFIX}/include)

install(DIRECTORY ${CMAKE_SOURCE_DIR}/python DESTINATION ${CMAKE_INSTALL_PREFIX})

install(DIRECTORY scripts/ DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
FILE_PERMISSIONS OWNER_READ OWNER_EXECUTE OWNER_WRITE
GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)

configure_file(nomp.pc.in nomp.pc @ONLY)
install(FILES ${CMAKE_BINARY_DIR}/nomp.pc DESTINATION
${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
12 changes: 0 additions & 12 deletions nomp.pc.in

This file was deleted.

0 comments on commit c69d058

Please sign in to comment.