mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-08 08:33:53 +00:00
CMake: Only unices have the strip command
Fixes the build on MinGW
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user