From 9bf50a9c8930dc5e323d2787572d628360549f40 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Mon, 7 May 2018 09:57:27 -0700 Subject: [PATCH] CMake: Minor cleanup --- CMakeLists.txt | 2 +- src/platform/sdl/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f343fa59c..d502ea64b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -947,7 +947,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) diff --git a/src/platform/sdl/CMakeLists.txt b/src/platform/sdl/CMakeLists.txt index dbe7bcb89..bfc840d4c 100644 --- a/src/platform/sdl/CMakeLists.txt +++ b/src/platform/sdl/CMakeLists.txt @@ -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)