mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-30 05:05:59 +01:00
cmake: fix compile
This commit is contained in:
parent
a3e1e5e8ba
commit
e5dd133808
1 changed files with 4 additions and 4 deletions
|
@ -148,7 +148,7 @@ if(USE_TRACY)
|
||||||
option( TRACY_ON_DEMAND "" ON)
|
option( TRACY_ON_DEMAND "" ON)
|
||||||
add_subdirectory (subprojects/tracy)
|
add_subdirectory (subprojects/tracy)
|
||||||
|
|
||||||
target_link_libraries(Hyprland PkgConfig::deps Tracy::TracyClient)
|
target_link_libraries(Hyprland Tracy::TracyClient)
|
||||||
|
|
||||||
if(USE_TRACY_GPU)
|
if(USE_TRACY_GPU)
|
||||||
message(STATUS "Tracy GPU Profiling is turned on")
|
message(STATUS "Tracy GPU Profiling is turned on")
|
||||||
|
@ -164,14 +164,14 @@ target_compile_definitions(Hyprland
|
||||||
"GIT_DIRTY=\"${GIT_DIRTY}\""
|
"GIT_DIRTY=\"${GIT_DIRTY}\""
|
||||||
"GIT_TAG=\"${GIT_TAG}\"")
|
"GIT_TAG=\"${GIT_TAG}\"")
|
||||||
|
|
||||||
target_link_libraries(Hyprland rt)
|
|
||||||
|
|
||||||
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
|
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
|
||||||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
|
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
|
||||||
include(CPack)
|
include(CPack)
|
||||||
|
|
||||||
message(STATUS "Setting link libraries")
|
message(STATUS "Setting link libraries")
|
||||||
|
|
||||||
|
target_link_libraries(Hyprland rt PkgConfig::deps)
|
||||||
|
|
||||||
function(protocol protoPath protoName external)
|
function(protocol protoPath protoName external)
|
||||||
if (external)
|
if (external)
|
||||||
execute_process(
|
execute_process(
|
||||||
|
|
Loading…
Reference in a new issue