master #2
2
dependencies/libpng/CMakeLists.txt
vendored
2
dependencies/libpng/CMakeLists.txt
vendored
@ -23,7 +23,7 @@ set_target_properties(png12 PROPERTIES LINK_FLAGS "-Wl,--version-script='${CMAKE
|
|||||||
set_target_properties(png12 PROPERTIES DEBUG_POSTFIX "") # Fix LibPNG Suffix In Debug Mode
|
set_target_properties(png12 PROPERTIES DEBUG_POSTFIX "") # Fix LibPNG Suffix In Debug Mode
|
||||||
|
|
||||||
# Ensure Build
|
# Ensure Build
|
||||||
set_target_properties(png12 PROPERTIES EXCLUDE_FROM_ALL FALSE)
|
add_custom_target(png12-build ALL DEPENDS png12)
|
||||||
# Install
|
# Install
|
||||||
install(TARGETS png12 DESTINATION "${MCPI_LIB_DIR}")
|
install(TARGETS png12 DESTINATION "${MCPI_LIB_DIR}")
|
||||||
|
|
||||||
|
2
dependencies/zlib/CMakeLists.txt
vendored
2
dependencies/zlib/CMakeLists.txt
vendored
@ -18,7 +18,7 @@ include_directories("${zlib_SOURCE_DIR}" "${zlib_BINARY_DIR}") # Fix ZLib Build
|
|||||||
add_subdirectory("${zlib_SOURCE_DIR}" "${zlib_BINARY_DIR}" EXCLUDE_FROM_ALL)
|
add_subdirectory("${zlib_SOURCE_DIR}" "${zlib_BINARY_DIR}" EXCLUDE_FROM_ALL)
|
||||||
|
|
||||||
# Ensure Build
|
# Ensure Build
|
||||||
set_target_properties(zlib PROPERTIES EXCLUDE_FROM_ALL FALSE)
|
add_custom_target(zlib-build ALL DEPENDS zlib)
|
||||||
# Install
|
# Install
|
||||||
install(TARGETS zlib DESTINATION "${MCPI_LIB_DIR}")
|
install(TARGETS zlib DESTINATION "${MCPI_LIB_DIR}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user