Merge pull request #100 from wegank/timerid

Fix build on macOS
This commit is contained in:
Vaxry 2022-12-28 14:51:46 +01:00 committed by GitHub
commit 03daf47f50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

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})

View file

@ -28,8 +28,6 @@ namespace Events {
void redraw();
void setThread();
inline timer_t timerid;
// For docks etc
inline bool nextWindowCentered = false;