Merge pull request #118 from jschueller/patch-1

CMake: Only unices have the strip command
This commit is contained in:
Rich Geldreich
2020-03-22 23:37:34 -04:00
committed by GitHub

View File

@@ -86,7 +86,7 @@ endif()
install(TARGETS basisu DESTINATION bin)
if (NOT MSVC)
if (UNIX)
if (CMAKE_BUILD_TYPE STREQUAL Release)
if (APPLE)
add_custom_command(TARGET basisu POST_BUILD COMMAND strip -X -x ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/basisu)