Remove librt on macOS

This commit is contained in:
Weijia Wang 2022-12-28 13:37:36 +01:00
parent 08d6af2caf
commit 7512a3ab91

View file

@ -29,7 +29,9 @@ ELSE()
message(STATUS "Configuring Hypr in Release with CMake!")
ENDIF(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
IF(UNIX AND NOT APPLE)
target_link_libraries(Hypr rt)
ENDIF()
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})