mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
12 lines
498 B
Diff
12 lines
498 B
Diff
--- CMakeLists.txt.orig 2025-03-29 01:19:26
|
|
+++ CMakeLists.txt 2025-03-29 14:33:49
|
|
@@ -555,8 +555,6 @@
|
|
list(APPEND mi_defines "MI_CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE_LC}") #todo: multi-config project needs $<CONFIG> ?
|
|
if(CMAKE_BUILD_TYPE_LC MATCHES "^(release|relwithdebinfo|minsizerel|none)$")
|
|
list(APPEND mi_defines MI_BUILD_RELEASE)
|
|
-else()
|
|
- set(mi_libname "${mi_libname}-${CMAKE_BUILD_TYPE_LC}") #append build type (e.g. -debug) if not a release version
|
|
endif()
|
|
|
|
if(MI_BUILD_SHARED)
|