Skip to content

Commit

Permalink
Remove UNIX path
Browse files Browse the repository at this point in the history
  • Loading branch information
jerinphilip committed Dec 20, 2023
1 parent d35b1ef commit c873c6a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions slimt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,6 @@ foreach(SLIMT_LIB IN LISTS SLIMT_LIBRARIES)
target_compile_definitions(${SLIMT_LIB} PRIVATE ${SLIMT_COMPILE_DEFINITIONS})
endforeach()

if(UNIX)
install(FILES ${SLIMT_PUBLIC_HEADERS}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/slimt)
install(FILES ${SLIMT_GENERATED_HEADERS}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/slimt/)
install(TARGETS ${SLIMT_LIBRARIES} DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif(UNIX)

# The following is partial code for enabling `find_package(slimt ...)` Not
# working at the moment, due to the inablility to export sentencepiece
# (accounting for it as an installed target).
Expand Down

0 comments on commit c873c6a

Please sign in to comment.