mirror of https://github.com/WerWolv/ImHex
build: Only build the version stripper on mingw
This commit is contained in:
parent
495608ed7c
commit
a4ee590875
|
|
@ -332,6 +332,7 @@ macro(createPackage)
|
|||
endforeach()
|
||||
]])
|
||||
|
||||
if (NOT MSVC)
|
||||
set(VERSIONLESS_LIBWINPTHREAD "${CMAKE_BINARY_DIR}/libwinpthread-1.dll")
|
||||
find_file(LIBWINPTHREAD_PATH NAMES libwinpthread-1.dll)
|
||||
if (NOT LIBWINPTHREAD_PATH)
|
||||
|
|
@ -354,6 +355,7 @@ macro(createPackage)
|
|||
install(FILES ${VERSIONLESS_LIBWINPTHREAD}
|
||||
DESTINATION "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}"
|
||||
)
|
||||
endif()
|
||||
|
||||
downloadImHexPatternsFiles(".")
|
||||
elseif(UNIX AND NOT APPLE)
|
||||
|
|
|
|||
|
|
@ -7,8 +7,11 @@ endif ()
|
|||
add_subdirectory(gui)
|
||||
if (WIN32)
|
||||
add_subdirectory(forwarder)
|
||||
|
||||
if (NOT MSVC)
|
||||
add_subdirectory(version_stripper)
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
if (NOT EMSCRIPTEN)
|
||||
add_subdirectory(updater)
|
||||
|
|
|
|||
Loading…
Reference in New Issue