From b474b3d16ec87c1e410a72ac9193868094d184e9 Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Sat, 21 Mar 2020 17:25:46 +0100 Subject: [PATCH] CMake: Only unices have the strip command Fixes the build on MinGW --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4fa46d3..0bcf648 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)