Skip to content
Snippets Groups Projects
Unverified Commit 06956657 authored by Tim Kaune's avatar Tim Kaune
Browse files

Remove setting of build type

LoadStaticSharedTargets is completely build type agnostic.
parent af9fd8e4
No related branches found
No related tags found
No related merge requests found
......@@ -41,17 +41,6 @@ if (IS_TOP_LEVEL)
set(CMAKE_CTEST_ARGUMENTS "--verbose")
endif ()
# LoadStaticSharedTargets is a CMake script, which we never want to debug
# If using a multi config generator
get_property(_IS_MULTI_CONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
if (_IS_MULTI_CONFIG)
set(CMAKE_CONFIGURATION_TYPES "Release")
set(CMAKE_DEFAULT_BUILD_TYPE "Release")
# If using a single config generator
else ()
set(CMAKE_BUILD_TYPE "Release")
endif ()
add_subdirectory(src)
if (IS_TOP_LEVEL AND BUILD_TESTING)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment