mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 14:24:56 +00:00
Link math library where needed
This commit is contained in:
@@ -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 #
|
||||
|
||||
Reference in New Issue
Block a user