1. 14 Aug, 2020 4 commits
  2. 13 Aug, 2020 7 commits
  3. 12 Aug, 2020 3 commits
  4. 11 Aug, 2020 1 commit
  5. 10 Aug, 2020 5 commits
  6. 08 Aug, 2020 1 commit
  7. 07 Aug, 2020 1 commit
  8. 06 Aug, 2020 2 commits
  9. 01 Aug, 2020 2 commits
  10. 31 Jul, 2020 4 commits
  11. 30 Jul, 2020 3 commits
  12. 28 Jul, 2020 6 commits
  13. 27 Jul, 2020 1 commit
    • Eli Schwartz's avatar
      cmake: install pkg-config file relative to current_binary_dir · aa06a476
      Eli Schwartz authored
      When the testsuite is enabled, the "cmake_add_subdirectory" test
      adds a second copy of the project into the build configuration, and the
      project files are installed twice.
      
      This becomes super problematic when it tries to install a file from
      CMAKE_BINARY_DIR which is only available in CMAKE_CURRENT_BINARY_DIR
      and bombs out with the following error message:
      
      ```
      [...]
      -- Installing: <DESTDIR>/usr/lib/cmake/nlohmann_json/nlohmann_jsonTargets.cmake
      CMake Error at test/cmake_add_subdirectory/nlohmann_json/cmake_install.cmake:73 (file):
        file INSTALL cannot find
        "......./nlohmann-json/builddir/test/cmake_add_subdirectory/nlohmann_json.pc":
        No such file or directory.
      Call Stack (most recent call first):
        test/cmake_add_subdirectory/cmake_install.cmake:47 (include)
        test/cmake_install.cmake:49 (include)
        cmake_install.cmake:94 (include)
      ```
      aa06a476