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)