Fix Build Better
This commit is contained in:
parent
f2bd893241
commit
28a6d59c2d
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
|
||||
|
||||
# Ensure Build
|
||||
set_target_properties(png12 PROPERTIES EXCLUDE_FROM_ALL FALSE)
|
||||
add_custom_target(png12-build ALL DEPENDS png12)
|
||||
# Install
|
||||
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)
|
||||
|
||||
# Ensure Build
|
||||
set_target_properties(zlib PROPERTIES EXCLUDE_FROM_ALL FALSE)
|
||||
add_custom_target(zlib-build ALL DEPENDS zlib)
|
||||
# Install
|
||||
install(TARGETS zlib DESTINATION "${MCPI_LIB_DIR}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user