mirror of https://github.com/mgba-emu/mgba.git
CMake: Minor cleanup
This commit is contained in:
parent
a71dce2ae9
commit
9bf50a9c89
|
@ -947,7 +947,7 @@ set(CPACK_DEBIAN_PACKAGE_SECTION "games")
|
||||||
|
|
||||||
SET(CPACK_DEB_COMPONENT_INSTALL ON)
|
SET(CPACK_DEB_COMPONENT_INSTALL ON)
|
||||||
|
|
||||||
set(CPACK_STRIP_FILES ${BINARY_NAME})
|
set(CPACK_STRIP_FILES ON)
|
||||||
|
|
||||||
if(DISTBUILD)
|
if(DISTBUILD)
|
||||||
set(CPACK_ARCHIVE_COMPONENT_INSTALL ON)
|
set(CPACK_ARCHIVE_COMPONENT_INSTALL ON)
|
||||||
|
|
|
@ -65,7 +65,7 @@ if(BUILD_RASPI)
|
||||||
set_target_properties(${BINARY_NAME}-rpi PROPERTIES COMPILE_DEFINITIONS "${FEATURE_DEFINES};${FUNCTION_DEFINES}")
|
set_target_properties(${BINARY_NAME}-rpi PROPERTIES COMPILE_DEFINITIONS "${FEATURE_DEFINES};${FUNCTION_DEFINES}")
|
||||||
target_link_libraries(${BINARY_NAME}-rpi ${BINARY_NAME} ${PLATFORM_LIBRARY} ${OPENGLES2_LIBRARY})
|
target_link_libraries(${BINARY_NAME}-rpi ${BINARY_NAME} ${PLATFORM_LIBRARY} ${OPENGLES2_LIBRARY})
|
||||||
install(TARGETS ${BINARY_NAME}-rpi DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT ${BINARY_NAME}-rpi)
|
install(TARGETS ${BINARY_NAME}-rpi DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT ${BINARY_NAME}-rpi)
|
||||||
unset(OPENGLES2_INCLUDE_DIR} CACHE) # Clear NOTFOUND
|
unset(OPENGLES2_INCLUDE_DIR CACHE) # Clear NOTFOUND
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(BUILD_PANDORA)
|
if(BUILD_PANDORA)
|
||||||
|
|
Loading…
Reference in New Issue