cmake HAVE_LIBM examples

tanis2000/binocle-c src/deps/sdl/CMakeLists.txt :1030

check_library_exists(m pow "" HAVE_LIBM)

Hork-Engine/Hork-Source ThirdParty/SDL3/CMakeLists.txt :995

check_library_exists(m pow "" HAVE_LIBM)

Dreamtowards/Ethertia lib/openal-soft/CMakeLists.txt :508

check_library_exists(m pow "" HAVE_LIBM)

cvet/fonline ThirdParty/SDL/CMakeLists.txt :1038

check_library_exists(m pow "" HAVE_LIBM)

libgme/game-music-emu gme/CMakeLists.txt :277

check_cxx_source_compiles("
            #include <math.h>
            int main(int argc, char** argv) {
                return (int) pow(argc, 2.5);
            }" HAVE_LIBM)

LiangliangNan/MVStudio 3rd_party/cminpack/CMakeLists.txt :69

check_library_exists ("m" sqrt "" HAVE_LIBM)

LiangliangNan/MVStudio 3rd_party/nlopt/CMakeLists.txt :129

check_library_exists ("m" sqrt "" HAVE_LIBM)

Froser/gamemachine src/3rdparty/openal-soft-1.19.1/CMakeLists.txt :500

CHECK_LIBRARY_EXISTS(m pow "" HAVE_LIBM)

Froser/gamemachine src/3rdparty/openal-soft-1.19.1/native-tools/CMakeLists.txt :12

check_library_exists(m pow "" HAVE_LIBM)

Froser/gamemachine src/3rdparty/openal-soft-1.19.1/native-tools/CMakeLists.txt :29

endif(HAVE_LIBM)

SWI-Prolog/swipl-devel cmake/Config.cmake :84

check_library_exists(m	sin	      "" HAVE_LIBM)

devernay/cminpack CMakeLists.txt :146

check_library_exists ("m" sqrt "" HAVE_LIBM)

dpjudas/SurrealEngine Thirdparty/openal-soft/CMakeLists.txt :506

check_library_exists(m pow "" HAVE_LIBM)

Unidata/netcdf-c cmake/dependencies.cmake :342

find_library(HAVE_LIBM NAMES math m libm)

Unidata/netcdf-c cmake/dependencies.cmake :350

else(NOT HAVE_LIBM)

Unidata/netcdf-c cmake/dependencies.cmake :351

message(STATUS "Found Math library: ${HAVE_LIBM}")

Unidata/netcdf-c nc_test/CMakeLists.txt :33

TARGET_LINK_LIBRARIES(nc_test
  netcdf
  ${HAVE_LIBM}
  ${ALL_TLL_LIBS}
  )

inolen/redream deps/sdl2/CMakeLists.txt :652

check_library_exists(m pow "" HAVE_LIBM)

u3d-community/U3D Source/ThirdParty/SDL/CMakeLists.txt :916

check_library_exists(m pow "" HAVE_LIBM)

google/filament third_party/libsdl2/CMakeLists.txt :689

check_library_exists(m pow "" HAVE_LIBM)

mxcop/src-dgi extern/sdl/CMakeLists.txt :990

check_library_exists(m pow "" HAVE_LIBM)

skylersaleh/SkyEmu src/SDL2/CMakeLists.txt :905

check_library_exists(m pow "" HAVE_LIBM)

RavEngine/RavEngine deps/SDL/CMakeLists.txt :1038

check_library_exists(m pow "" HAVE_LIBM)

libgeos/geos CMakeLists.txt :318

check_library_exists(m pow "" HAVE_LIBM)

nojhan/paradiseo deprecated/eo/ConfigureChecks.cmake :9

CHECK_LIBRARY_EXISTS(m	cos	"/usr/lib"	HAVE_LIBM)

nojhan/paradiseo eo/ConfigureChecks.cmake :9

CHECK_LIBRARY_EXISTS(m	cos	"/usr/lib"	HAVE_LIBM)

nvMcJohn/apitest thirdparty/SDL2-2.0.1/CMakeLists.txt :517

check_library_exists(m pow "" HAVE_LIBM)

nvMcJohn/apitest thirdparty/SDL2-2.0.1/CMakeLists.txt :529

endif(HAVE_LIBM)

openc2e/openc2e externals/SDL2/CMakeLists.txt :1049

check_library_exists(m pow "" HAVE_LIBM)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/deplibs/libvorbis/CMakeLists.txt :62

check_library_exists(m floor "" HAVE_LIBM)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/deplibs/libvorbis/lib/CMakeLists.txt :108

target_link_libraries(vorbis
        PUBLIC Ogg::ogg
        PRIVATE $<$<BOOL:${HAVE_LIBM}>:m>
    )

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/deplibs/opus/cmake/OpusConfig.cmake :43

check_library_exists(m floor "" HAVE_LIBM)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/deplibs/SDL2/CMakeLists.txt :1121

check_library_exists(m pow "" HAVE_LIBM)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/doom3/neo/externlibs/openal-soft/CMakeLists.txt :507

check_library_exists(m pow "" HAVE_LIBM)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/serioussam/SamTFE/Sources/External/libvorbis/CMakeLists.txt :17

check_library_exists(m floor "" HAVE_LIBM)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/serioussam/SamTSE/Sources/External/libvorbis/CMakeLists.txt :17

check_library_exists(m floor "" HAVE_LIBM)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/xash3d/xash3d-fwgs/3rdparty/opus/opus/cmake/OpusConfig.cmake :43

check_library_exists(m floor "" HAVE_LIBM)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/xash3d/xash3d-fwgs/3rdparty/vorbis/vorbis-src/CMakeLists.txt :14

check_library_exists(m floor "" HAVE_LIBM)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/xash3d/xash3d-fwgs/3rdparty/vorbis/vorbis-src/lib/CMakeLists.txt :81

target_link_libraries(fwgs_vorbis
	PUBLIC fwgs_ogg
	PRIVATE $<$<BOOL:${HAVE_LIBM}>:m>
)

cadaver/turso3d ThirdParty/SDL/CMakeLists.txt :993

check_library_exists(m pow "" HAVE_LIBM)

hyle-team/zano contrib/db/libmdbx/CMakeLists.txt :160

CHECK_FUNCTION_EXISTS(pow HAVE_LIBM)

OSGeo/PROJ cmake/ProjConfig.cmake :28

check_library_exists(m exp "" HAVE_LIBM)

ChisBread/transmission_pt_edition CMakeLists.txt :506

check_library_exists(m sqrt "" HAVE_LIBM)

crossuo/crossuo deps/sdl-2.0.10-c1be3add38/CMakeLists.txt :763

check_library_exists(m pow "" HAVE_LIBM)

klaussilveira/qengine vendor/SDL2-2.0.22/CMakeLists.txt :910

check_library_exists(m pow "" HAVE_LIBM)

in-formant/in-formant external/libsamplerate/CMakeLists.txt :92

check_library_exists(m pow "" HAVE_LIBM)

AtomicGameEngine/AtomicGameEngine Source/ThirdParty/SDL/CMakeLists.txt :556

check_library_exists(m pow "" HAVE_LIBM)

vengi-voxel/vengi cmake/system/linux.cmake :20

check_library_exists(m pow "" HAVE_LIBM)

vengi-voxel/vengi contrib/libs/sdl2/CMakeLists.txt :1113

check_library_exists(m pow "" HAVE_LIBM)

rbfx/rbfx Source/ThirdParty/SDL/CMakeLists.txt :1007

check_library_exists(m pow "" HAVE_LIBM)

ComputationalBiomechanicsLab/opensim-creator third_party/SDL/CMakeLists.txt :1038

check_library_exists(m pow "" HAVE_LIBM)

transmission/transmission CMakeLists.txt :752

check_library_exists(m sqrt "" HAVE_LIBM)

Sneeds-Feed-and-Seed/sneedacity CMakeLists.txt :323

check_library_exists( m pow "" HAVE_LIBM )

godlikepanos/anki-3d-engine ThirdParty/Sdl2/CMakeLists.txt :910

check_library_exists(m pow "" HAVE_LIBM)

godlikepanos/anki-3d-engine ThirdParty/Sdl3/CMakeLists.txt :1038

check_library_exists(m pow "" HAVE_LIBM)

mariadb-corporation/MaxScale cmake/CheckPlatform.cmake :30

find_library(HAVE_LIBM NAMES m)

axmolengine/axmol 3rdparty/openal/CMakeLists.txt :530

check_library_exists(m pow "" HAVE_LIBM)

gazebosim/gazebo-classic deps/opende/CMakeLists.txt :138

CHECK_LIBRARY_EXISTS(m cos "" HAVE_LIBM)