commit 1ca7cde5532f562ca3efb4fe66f05a44036f78c6
parent c5ff12d02766c8e83957cf2098556a18573cba0d
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 11 Jul 2018 15:27:02 +0200
Fix compilation issues
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -74,7 +74,7 @@ rcmake_prepend_path(HTRDR_FILES_INC ${HTRDR_SOURCE_DIR})
rcmake_prepend_path(HTRDR_FILES_DOC ${PROJECT_SOURCE_DIR}/../)
add_executable(htrdr ${HTRDR_FILES_SRC} ${HTRDR_FILES_INC})
-target_link_libraries(htrdr HTCP HTMIE RSys SVX StarSP)
+target_link_libraries(htrdr HTCP HTMIE RSys StarVX StarSP)
if(CMAKE_COMPILER_IS_GNUCC)
target_link_libraries(htrdr m)
diff --git a/src/htrdr_sky.c b/src/htrdr_sky.c
@@ -472,7 +472,7 @@ htrdr_sky_fetch_raw_property
double k_gaz = 0;
ASSERT(sky && pos && wavelength > 0);
ASSERT(prop_mask & HTRDR_SKY_PROP_Kext);
- ASSERT(components_mask & HTRDR_SKY_COMP_ALL);
+ ASSERT(comp_mask & HTRDR_SKY_COMP_ALL);
/* Is the position outside the clouds? */
if(pos[0] < sky->cloud_desc.lower[0]