mirror of
https://github.com/love2d/megasource.git
synced 2026-08-12 00:20:55 +02:00
Disable install() for SDL, physfs, libpng.
This commit is contained in:
@@ -1175,6 +1175,10 @@ if(SDL_STATIC)
|
||||
endif(SDL_STATIC)
|
||||
|
||||
##### Installation targets #####
|
||||
|
||||
# Skipping installation in megasource.
|
||||
return()
|
||||
|
||||
install(TARGETS ${_INSTALL_LIBS}
|
||||
LIBRARY DESTINATION "lib${LIB_SUFFIX}"
|
||||
ARCHIVE DESTINATION "lib${LIB_SUFFIX}")
|
||||
|
||||
@@ -764,22 +764,22 @@ TARGET_LINK_LIBRARIES(${LIBNAME} ${EXTRA_LIBS})
|
||||
TARGET_INCLUDE_DIRECTORIES(${LIBNAME} PUBLIC include)
|
||||
|
||||
# Add an install target here
|
||||
INSTALL(TARGETS ${LIBNAME}
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION "lib${LIB_SUFFIX}"
|
||||
ARCHIVE DESTINATION "lib${LIB_SUFFIX}"
|
||||
)
|
||||
INSTALL(FILES include/AL/al.h
|
||||
include/AL/alc.h
|
||||
include/AL/alext.h
|
||||
include/AL/efx.h
|
||||
include/AL/efx-creative.h
|
||||
include/AL/efx-presets.h
|
||||
DESTINATION include/AL
|
||||
)
|
||||
INSTALL(FILES "${OpenAL_BINARY_DIR}/openal.pc"
|
||||
DESTINATION "lib${LIB_SUFFIX}/pkgconfig")
|
||||
|
||||
# Disabled in megasource.
|
||||
#INSTALL(TARGETS ${LIBNAME}
|
||||
# RUNTIME DESTINATION bin
|
||||
# LIBRARY DESTINATION "lib${LIB_SUFFIX}"
|
||||
# ARCHIVE DESTINATION "lib${LIB_SUFFIX}"
|
||||
#)
|
||||
#INSTALL(FILES include/AL/al.h
|
||||
# include/AL/alc.h
|
||||
# include/AL/alext.h
|
||||
# include/AL/efx.h
|
||||
# include/AL/efx-creative.h
|
||||
# include/AL/efx-presets.h
|
||||
# DESTINATION include/AL
|
||||
#)
|
||||
#INSTALL(FILES "${OpenAL_BINARY_DIR}/openal.pc"
|
||||
# DESTINATION "lib${LIB_SUFFIX}/pkgconfig")
|
||||
|
||||
MESSAGE(STATUS "")
|
||||
MESSAGE(STATUS "Building OpenAL with support for the following backends:")
|
||||
|
||||
@@ -341,11 +341,12 @@ IF(PHYSFS_BUILD_WX_TEST)
|
||||
ENDIF(wxWidgets_FOUND)
|
||||
ENDIF(PHYSFS_BUILD_WX_TEST)
|
||||
|
||||
INSTALL(TARGETS ${PHYSFS_INSTALL_TARGETS}
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib${LIB_SUFFIX}
|
||||
ARCHIVE DESTINATION lib${LIB_SUFFIX})
|
||||
INSTALL(FILES physfs.h DESTINATION include)
|
||||
# Disabled in megasource.
|
||||
#INSTALL(TARGETS ${PHYSFS_INSTALL_TARGETS}
|
||||
# RUNTIME DESTINATION bin
|
||||
# LIBRARY DESTINATION lib${LIB_SUFFIX}
|
||||
# ARCHIVE DESTINATION lib${LIB_SUFFIX})
|
||||
#INSTALL(FILES physfs.h DESTINATION include)
|
||||
|
||||
FIND_PACKAGE(Doxygen)
|
||||
IF(DOXYGEN_FOUND)
|
||||
|
||||
Reference in New Issue
Block a user