/[packages]/cauldron/celestia/current/SOURCES/fix-spice-case.patch
ViewVC logotype

Contents of /cauldron/celestia/current/SOURCES/fix-spice-case.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1765323 - (show annotations) (download)
Wed Dec 29 18:43:49 2021 UTC (2 years, 3 months ago) by joequant
File size: 705 byte(s)
update to 20211229

1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 702aaf3..7068d29 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -165,10 +165,10 @@ if(ENABLE_SPICE)
6 if(NOT CSPICE_FOUND)
7 message(STATUS "Using cspice submodule")
8 add_subdirectory("${CMAKE_SOURCE_DIR}/thirdparty/Spice")
9 - get_target_property(SPICE_INCLUDE_DIR spice INCLUDE_DIRECTORIES)
10 + get_target_property(SPICE_INCLUDE_DIR Spice INCLUDE_DIRECTORIES)
11 include_directories(${SPICE_INCLUDE_DIR})
12 message(STATUS "Spice include directories: ${SPICE_INCLUDE_DIR}")
13 - add_library(CSPICE::CSPICE ALIAS spice)
14 + add_library(CSPICE::CSPICE ALIAS Spice)
15 else()
16 include_directories(${CSPICE_INCLUDE_DIR})
17 endif()

  ViewVC Help
Powered by ViewVC 1.1.30