File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ build_library_in_subdir(
33 NAME
44 grass_iortho
55 DEPENDS
6+ ${LIBM}
67 grass_gis
78 grass_imagery
89 grass_gmath)
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ build_library_in_subdir(
2727 DEFS
2828 "-DGDAL_LINK=1"
2929 DEPENDS
30+ ${LIBM}
3031 GDAL::GDAL
3132 PROJ::proj
3233 grass_gis
@@ -168,14 +169,21 @@ build_library_in_subdir(
168169 HEADERS
169170 "lidar.h" )
170171
171- build_library_in_subdir(raster3d NAME grass_raster3d DEPENDS grass_raster
172- grass_gis)
172+ build_library_in_subdir(
173+ raster3d
174+ NAME
175+ grass_raster3d
176+ DEPENDS
177+ ${LIBM}
178+ grass_raster
179+ grass_gis)
173180
174181build_program_in_subdir(
175182 raster3d/test
176183 NAME
177184 test .raster3d.lib
178185 DEPENDS
186+ ${LIBM}
179187 grass_gis
180188 grass_interpfl
181189 grass_raster
@@ -197,7 +205,7 @@ build_library_in_subdir(
197205
198206build_library_in_subdir(dspf DEPENDS grass_gis)
199207
200- build_library_in_subdir(symbol NAME grass_symb DEPENDS grass_gis)
208+ build_library_in_subdir(symbol NAME grass_symb DEPENDS grass_gis ${LIBM} )
201209add_custom_command (
202210 TARGET grass_symb
203211 POST_BUILD
@@ -212,9 +220,9 @@ add_subdirectory(init)
212220
213221build_library_in_subdir(cdhc DEPENDS grass_gis grass_raster)
214222
215- build_library_in_subdir(stats DEPENDS grass_gis grass_raster)
223+ build_library_in_subdir(stats DEPENDS grass_gis grass_raster ${LIBM} )
216224
217- build_library_in_subdir(arraystats DEPENDS grass_gis)
225+ build_library_in_subdir(arraystats DEPENDS grass_gis ${LIBM} )
218226
219227if (WITH_OPENGL)
220228 build_library_in_subdir(
@@ -257,4 +265,4 @@ file(COPY manage/element_list DESTINATION ${OUTDIR}/${GRASS_INSTALL_ETCDIR})
257265install (FILES ${OUTDIR} /${GRASS_INSTALL_ETCDIR} /element_list
258266 DESTINATION ${GRASS_INSTALL_ETCDIR} )
259267
260- build_library_in_subdir(calc DEPENDS grass_raster grass_gis)
268+ build_library_in_subdir(calc DEPENDS grass_raster grass_gis ${LIBM} )
You can’t perform that action at this time.
0 commit comments