From d2efc89796e3737e6c66b3645e803e577d0c377a Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Sun, 9 May 2021 23:50:13 +0200 Subject: [PATCH] cleanup --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 65735026..8b82fb73 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,11 +35,7 @@ option(USE_LIBCPP "Use libc++ by adding -stdlib=libc++ flag if availbale." ON) option(USE_ASAN "Use address sanitizer by adding -fsanitize=address -fno-omit-frame-pointer flags" OFF) option(USE_UBSAN "Use address sanitizer by adding -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer flags" OFF) option(BUILD_UVW_LIBS "Prepare targets for static library rather than for a header-only library." OFF) -option(BUILD_UVW_SHARED_LIB "Prepare targets for shared library rather than for a header-only library (not available for WIN32)." OFF) - -if(BUILD_UVW_SHARED_LIB AND WIN32) - message(FATAL_ERROR "This feature is not yet available for WIN32 targets.") -endif() +option(BUILD_UVW_SHARED_LIB "Prepare targets for shared library rather than for a header-only library." OFF) if(BUILD_UVW_SHARED_LIB) set(BUILD_UVW_LIBS BOOL:ON)