diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cf4b9b326..91a90debe 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -8,7 +8,7 @@ if(ICAL_GLIB) add_subdirectory(libical-glib) endif() if (ICAL_VCARD) - add_subdirectory(libicalvcard) + add_subdirectory(libicalvcard) endif() if(LIBICAL_BUILD_TESTING) add_subdirectory(test) diff --git a/src/libicalvcard/CMakeLists.txt b/src/libicalvcard/CMakeLists.txt index cb54bda3e..9b6cffdfd 100644 --- a/src/libicalvcard/CMakeLists.txt +++ b/src/libicalvcard/CMakeLists.txt @@ -212,7 +212,7 @@ endif() target_link_libraries(icalvcard ical) if ( MSVC ) - target_compile_options(icalvcard PRIVATE /W4 /WX) + target_compile_options(icalvcard PRIVATE /W4 /WX) else() target_compile_options(icalvcard PRIVATE -Wall -Wextra -Werror) endif()