Skip to content

Commit

Permalink
Require cupcake from Redirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
thejohnfreeman committed Oct 17, 2023
1 parent b8db430 commit 0aff386
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# https://cliutils.gitlab.io/modern-cmake/chapters/intro/newcmake.html
cmake_minimum_required(VERSION 3.7)

project(autocheck
VERSION 1.0.0
LANGUAGES CXX
DESCRIPTION "Header-only C++11 library for property-based testing."
HOMEPAGE_URL "https://github.com/thejohnfreeman/autocheck"
)

set(CMAKE_FIND_PACKAGE_SORT_ORDER NATURAL)
set(CMAKE_FIND_PACKAGE_SORT_DIRECTION DEC)
find_package(cupcake 0.1.0 REQUIRED)
find_package(cupcake 0.2.0 REQUIRED)

cupcake_project(
LICENSE "ISC"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ Please consult the [wiki][] for documentation.
## Install

```sh
conan remote add jfreeman https://api.bintray.com/conan/jfreeman/jfreeman
conan install autocheck/[*]@jfreeman/stable
conan remote add redirectory https://conan.jfreeman.dev
conan install autocheck/[*]@github/thejohnfreeman
```
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Autocheck(ConanFile):
options = {'shared': [True, False], 'fPIC': [True, False]}
default_options = {'shared': False, 'fPIC': True}

requires = ['cupcake/0.1.0']
requires = ['cupcake/0.2.0@github/thejohnfreeman']
test_requires = ['catch2/3.3.2', 'gtest/1.13.0']
generators = ['CMakeDeps', 'CMakeToolchain']

Expand Down

0 comments on commit 0aff386

Please sign in to comment.