cmake update

This commit is contained in:
Markus F.X.J. Oberhumer
2024-07-31 18:56:32 +02:00
parent ba969fb9f2
commit b4db17ab3c
4 changed files with 38 additions and 11 deletions
+2
View File
@@ -133,8 +133,10 @@ endif()
# CMake init
upx_set_default_build_type(Release) # default is CMAKE_BUILD_TYPE=Release
upx_set_default_rpath()
project(upx VERSION "${UPX_VERSION_STRING}" LANGUAGES C CXX)
upx_apply_build_type()
upx_apply_rpath()
if(DEFINED UPX_CONFIG_CMAKE_EXECUTABLE_SUFFIX)
set(CMAKE_EXECUTABLE_SUFFIX "${UPX_CONFIG_CMAKE_EXECUTABLE_SUFFIX}")