diff --git a/CMakeLists.txt b/CMakeLists.txt index d6afc594..9568ae52 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,9 @@ if(APPLE) endif() add_library(common-options INTERFACE) -target_compile_options(common-options INTERFACE -Wall -Wextra -Wconversion) +if(NOT WIN32) + target_compile_options(common-options INTERFACE -Wall -Wextra -Wconversion) +endif() include(GNUInstallDirs) include(CheckIncludeFiles)