CMake: Minor cleanup

This commit is contained in:
Vicki Pfau 2018-05-07 09:57:27 -07:00
parent 42035bca21
commit cb180fe717
2 changed files with 2 additions and 2 deletions

View File

@ -996,7 +996,7 @@ set(CPACK_DEBIAN_PACKAGE_SECTION "games")
SET(CPACK_DEB_COMPONENT_INSTALL ON)
set(CPACK_STRIP_FILES ${BINARY_NAME})
set(CPACK_STRIP_FILES ON)
if(DISTBUILD)
set(CPACK_ARCHIVE_COMPONENT_INSTALL ON)

View File

@ -65,7 +65,7 @@ if(BUILD_RASPI)
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})
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()
if(BUILD_PANDORA)