mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
LIBM, not LIBM_LIBRARIES
This commit is contained in:
parent
931fa8eb13
commit
c74c03b948
@ -192,7 +192,7 @@ target_include_directories(notcurses-core-static
|
|||||||
target_link_libraries(notcurses-core
|
target_link_libraries(notcurses-core
|
||||||
PRIVATE
|
PRIVATE
|
||||||
"${TERMINFO_LIBRARIES}"
|
"${TERMINFO_LIBRARIES}"
|
||||||
"${LIBM_LIBRARIES}"
|
"${LIBM}"
|
||||||
"${LIBRT_LIBRARIES}"
|
"${LIBRT_LIBRARIES}"
|
||||||
"${unistring}"
|
"${unistring}"
|
||||||
PUBLIC
|
PUBLIC
|
||||||
@ -201,7 +201,7 @@ target_link_libraries(notcurses-core
|
|||||||
target_link_libraries(notcurses-core-static
|
target_link_libraries(notcurses-core-static
|
||||||
PRIVATE
|
PRIVATE
|
||||||
"${TERMINFO_STATIC_LIBRARIES}"
|
"${TERMINFO_STATIC_LIBRARIES}"
|
||||||
"${LIBM_LIBRARIES}"
|
"${LIBM}"
|
||||||
"${LIBRT_LIBRARIES}"
|
"${LIBRT_LIBRARIES}"
|
||||||
"${unistring}"
|
"${unistring}"
|
||||||
PUBLIC
|
PUBLIC
|
||||||
@ -454,7 +454,7 @@ foreach(f ${POCSRCS})
|
|||||||
"${PROJECT_BINARY_DIR}/include"
|
"${PROJECT_BINARY_DIR}/include"
|
||||||
)
|
)
|
||||||
target_link_libraries(${fe}
|
target_link_libraries(${fe}
|
||||||
PRIVATE notcurses "${TERMINFO_LIBRARIES}"
|
PRIVATE notcurses "${TERMINFO_LIBRARIES}" "${LIBM}"
|
||||||
)
|
)
|
||||||
target_link_directories(${fe}
|
target_link_directories(${fe}
|
||||||
PRIVATE "${TERMINFO_LIBRARY_DIRS}"
|
PRIVATE "${TERMINFO_LIBRARY_DIRS}"
|
||||||
@ -469,7 +469,7 @@ foreach(f ${POCPPSRCS})
|
|||||||
"${PROJECT_BINARY_DIR}/include"
|
"${PROJECT_BINARY_DIR}/include"
|
||||||
)
|
)
|
||||||
target_link_libraries(${fe}
|
target_link_libraries(${fe}
|
||||||
PRIVATE notcurses++ "${TERMINFO_LIBRARIES}"
|
PRIVATE notcurses++ "${TERMINFO_LIBRARIES}" "${LIBM}"
|
||||||
)
|
)
|
||||||
target_link_directories(${fe}
|
target_link_directories(${fe}
|
||||||
PRIVATE "${TERMINFO_LIBRARY_DIRS}"
|
PRIVATE "${TERMINFO_LIBRARY_DIRS}"
|
||||||
@ -495,7 +495,7 @@ target_include_directories(notcurses-demo
|
|||||||
target_link_libraries(notcurses-demo
|
target_link_libraries(notcurses-demo
|
||||||
PRIVATE
|
PRIVATE
|
||||||
notcurses
|
notcurses
|
||||||
${LIBM_LIBRARIES}
|
${LIBM}
|
||||||
Threads::Threads
|
Threads::Threads
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user