Skip to content

Commit f8d52fc

Browse files
committed
Conan remote is conancenter and sundries
1 parent 484f8ad commit f8d52fc

File tree

5 files changed

+12
-14
lines changed

5 files changed

+12
-14
lines changed

CMakeLists.txt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ project(
77
LANGUAGES C)
88

99
option(conan_deps "Download ssht using conan" ON)
10-
if(conan_deps AND download_ssht)
11-
message(
12-
FATAL_ERROR "conan_deps and download_ssht options are mutually exclusive.")
13-
endif()
1410

1511
if(NOT CMAKE_BUILD_TYPE)
1612
set(CMAKE_BUILD_TYPE "Debug")
@@ -40,13 +36,13 @@ if(BUILD_TESTING)
4036
add_subdirectory(tests)
4137
endif()
4238

43-
if(NOT SKBUILD AND NOT CONAN_EXPORTED)
44-
include("${PROJECT_SOURCE_DIR}/cmake/exporting.cmake")
45-
elseif(NOT CONAN_EXPORTED)
39+
if(SKBUILD)
4640
find_package(PythonExtensions REQUIRED)
4741
find_package(Cython REQUIRED)
4842
find_package(NumPy REQUIRED)
4943
add_subdirectory(src/so3)
44+
elseif(NOT CONAN_EXPORTED)
45+
include("${PROJECT_SOURCE_DIR}/cmake/exporting.cmake")
5046
endif()
5147

5248
# only run documentation if this is not a sub-project

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[docs-img]: https://img.shields.io/badge/docs-stable-blue.svg
33
[docs-url]: http://astro-informatics.github.io/so3/
44
[conan-img]: https://img.shields.io/badge/ConanCenter-C%20Package-red.svg
5-
[conan-url]: https://conan.io/center/so3
5+
[conan-url]: https://conan.io/center/astro-informatics-so3
66
[pypi-img]: https://badge.fury.io/py/so3.svg
77
[pypi-url]: https://badge.fury.io/py/so3
88
[codefactor-img]: https://www.codefactor.io/repository/github/astro-informatics/so3/badge/main

cmake/conan_dependencies.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ conan_cmake_install(
2020
BUILD
2121
missing
2222
REMOTE
23-
conan-center
23+
conancenter
2424
SETTINGS
2525
${settings})

cmake/so3Config.in.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include(CMakeFindDependencyMacro)
66
find_dependency(FFTW3 REQUIRED)
77
find_dependency(Ssht REQUIRED)
88

9-
include("${CMAKE_CURRENT_LIST_DIR}/sshtTargets.cmake")
10-
set(SO3_LIBRARIES so3::so3)
9+
include("${CMAKE_CURRENT_LIST_DIR}/astro-informatics-so3Targets.cmake")
10+
set(SO3_LIBRARIES astro-informatics-so3::astro-informatics-so3)
1111

1212
check_required_components(SO3)

docs/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ <h1 class="title">so3</h1>
4747
<h2>News</h2>
4848

4949
<ul>
50-
<li><strong>April 2021</strong><br />
51-
Release of SO3 v1.3.3 (<a href="https://conan.io/center/so3">conan-center</a>release)
50+
<li><strong>Oct 2021</strong><br />
51+
Release of SO3 v1.3.5
52+
<li><strong>May 2021</strong><br />
53+
Release of SO3 v1.3.4 (<a href="https://conan.io/center/astro-informatics-so3">conan-center</a>release)
5254
<li><strong>October 2020</strong><br />
5355
Release of SO3 v1.3.0
5456
<li><strong>September 2020</strong><br />
@@ -78,7 +80,7 @@ <h2>News</h2>
7880
<img src="https://img.shields.io/badge/docs-stable-blue.svg">
7981
</a>
8082

81-
<a href="https://conan.io/center/so3">
83+
<a href="https://conan.io/center/astro-informatics-so3">
8284
<img src="https://img.shields.io/badge/ConanCenter-C%20Package-red.svg">
8385
</a>
8486

0 commit comments

Comments
 (0)