diff options
author | vaxerski <[email protected]> | 2023-07-20 17:53:50 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2023-07-20 17:57:02 +0200 |
commit | e5dd133808acd1ca1c7060f04d4224e1d9aac79d (patch) | |
tree | cf42218587f877c563022efd2e9ded934d863e0e | |
parent | a3e1e5e8baaa805a84aa6274904cdc48aafe2374 (diff) | |
download | Hyprland-e5dd133808acd1ca1c7060f04d4224e1d9aac79d.tar.gz Hyprland-e5dd133808acd1ca1c7060f04d4224e1d9aac79d.zip |
cmake: fix compile
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 490e8a42..2cd77151 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -143,12 +143,12 @@ endif() if(USE_TRACY) message(STATUS "Tracy is turned on") - + option( TRACY_ENABLE "" ON) option( TRACY_ON_DEMAND "" ON) add_subdirectory (subprojects/tracy) - target_link_libraries(Hyprland PkgConfig::deps Tracy::TracyClient) + target_link_libraries(Hyprland Tracy::TracyClient) if(USE_TRACY_GPU) message(STATUS "Tracy GPU Profiling is turned on") @@ -164,14 +164,14 @@ target_compile_definitions(Hyprland "GIT_DIRTY=\"${GIT_DIRTY}\"" "GIT_TAG=\"${GIT_TAG}\"") -target_link_libraries(Hyprland rt) - set(CPACK_PROJECT_NAME ${PROJECT_NAME}) set(CPACK_PROJECT_VERSION ${PROJECT_VERSION}) include(CPack) message(STATUS "Setting link libraries") +target_link_libraries(Hyprland rt PkgConfig::deps) + function(protocol protoPath protoName external) if (external) execute_process( |