mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Fix inclusion of libm.
This commit is contained in:
@@ -287,9 +287,9 @@ endif()
|
|||||||
# Check for math library
|
# Check for math library
|
||||||
include(CheckLibraryExists)
|
include(CheckLibraryExists)
|
||||||
|
|
||||||
check_library_exists(m log "" HAVE_LIB_M)
|
check_library_exists(m cos "" HAVE_LIB_M)
|
||||||
if(HAVE_LIB_M)
|
if(HAVE_LIB_M)
|
||||||
TARGET_LINK_LIBRARIES_WHOLE_ARCHIVE(aaruformat m)
|
target_link_libraries(aaruformat m)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Find Doxygen for documentation generation
|
# Find Doxygen for documentation generation
|
||||||
|
|||||||
Reference in New Issue
Block a user