nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

deps.patch (1687B)


      1 diff --git i/CMakeLists.txt w/CMakeLists.txt
      2 index efe6486..d6f5ff8 100644
      3 --- i/CMakeLists.txt
      4 +++ w/CMakeLists.txt
      5 @@ -20,9 +20,7 @@ set(FETCHCONTENT_QUIET FALSE)
      6  #-------------------------------------------------------------------------------
      7  
      8  FetchContent_Declare(json
      9 -  GIT_REPOSITORY https://github.com/ArthurSonzogni/nlohmann_json_cmake_fetchcontent
     10 -  GIT_TAG v3.9.1
     11 -  GIT_PROGRESS TRUE
     12 +  SOURCE_DIR @json_src@
     13  )
     14  
     15  FetchContent_GetProperties(json)
     16 @@ -34,10 +32,7 @@ endif()
     17  #-------------------------------------------------------------------------------
     18  
     19  FetchContent_Declare(antlr
     20 -  GIT_REPOSITORY https://github.com/antlr/antlr4
     21 -  GIT_TAG 1cb4669f84cea5b59661fd44b0f80509fdacd3f9
     22 -  GIT_SHALLOW FALSE
     23 -  GIT_PROGRESS TRUE
     24 +  SOURCE_DIR @antlr_src@
     25  )
     26  
     27  FetchContent_GetProperties(antlr)
     28 diff --git i/src/translator/grammar/CMakeLists.txt w/src/translator/grammar/CMakeLists.txt
     29 index 1af0285..5ab5a80 100644
     30 --- i/src/translator/grammar/CMakeLists.txt
     31 +++ w/src/translator/grammar/CMakeLists.txt
     32 @@ -8,8 +8,7 @@ else()
     33    include(FetchContent)
     34    set(FETCHCONTENT_UPDATES_DISCONNECTED TRUE)
     35    FetchContent_Declare(kgt
     36 -    GIT_REPOSITORY https://github.com/ArthurSonzogni/kgt
     37 -    GIT_TAG 56c3f46cf286051096d9295118c048219fe0d776
     38 +    SOURCE_DIR @kgt_src@
     39      )
     40    FetchContent_GetProperties(kgt)
     41    FetchContent_Populate(kgt)
     42 diff --git i/tools/CMakeLists.txt w/tools/CMakeLists.txt
     43 index 4724c28..f36960c 100644
     44 --- i/tools/CMakeLists.txt
     45 +++ w/tools/CMakeLists.txt
     46 @@ -33,7 +33,7 @@ function(ANTLR source)
     47      COMMAND
     48      java
     49      ARGS
     50 -    -jar ${CMAKE_BINARY_DIR}/antlr.jar
     51 +    -jar @antlr_jar@
     52      -Dlanguage=Cpp
     53      -no-listener
     54      -no-visitor