Skip to content

Commit

Permalink
Remove modification of CMAKE_CONFIGURATION_TYPES
Browse files Browse the repository at this point in the history
We just support the usual configs.
  • Loading branch information
hainest committed Dec 22, 2022
1 parent ce8b8ea commit 91a6cfe
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions cmake/DyninstLibrary.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@ set(SOVERSION "${DYNINST_MAJOR_VERSION}.${DYNINST_MINOR_VERSION}")
set(LIBVERSION "${SOVERSION}.${DYNINST_PATCH_VERSION}")
set(DYNINST_VERSION "${LIBVERSION}")

if(CMAKE_CONFIGURATION_TYPES)
set(CMAKE_CONFIGURATION_TYPES Debug Release)
set(CMAKE_CONFIGURATION_TYPES
"${CMAKE_CONFIGURATION_TYPES}"
CACHE
STRING
"Reset the available configurations to exclude MinSizeRel and RelWithDebugInfo"
FORCE)
endif()

if(LIGHTWEIGHT_SYMTAB)
set(SYMREADER symLite)
else()
Expand Down

0 comments on commit 91a6cfe

Please sign in to comment.