mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-06-02 01:21:19 +00:00
Link math library where needed
This commit is contained in:
parent
ce256566b3
commit
f8181f7598
@ -2,7 +2,8 @@ if(NOT CMAKE_CROSSCOMPILING)
|
||||
|
||||
include_directories(${LIBPNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
|
||||
add_executable(packbadge packbadge.c)
|
||||
target_link_libraries(packbadge ${PNG_LIB} ${ZLIB_LIBRARIES})
|
||||
find_library(M_LIB m)
|
||||
target_link_libraries(packbadge ${PNG_LIB} ${ZLIB_LIBRARIES} ${M_LIB})
|
||||
|
||||
##################
|
||||
# Package Export #
|
||||
|
@ -1,7 +1,8 @@
|
||||
if(NOT CMAKE_CROSSCOMPILING)
|
||||
include_directories(${LIBPNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
|
||||
add_executable(packicons packicons.c)
|
||||
target_link_libraries(packicons ${PNG_LIB} ${ZLIB_LIBRARIES})
|
||||
find_library(M_LIB m)
|
||||
target_link_libraries(packicons ${PNG_LIB} ${ZLIB_LIBRARIES} ${M_LIB})
|
||||
|
||||
##################
|
||||
# Package Export #
|
||||
|
Loading…
x
Reference in New Issue
Block a user