diff options
Diffstat (limited to 'cmake/Modules/BuildMacros.cmake')
-rw-r--r-- | cmake/Modules/BuildMacros.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmake/Modules/BuildMacros.cmake b/cmake/Modules/BuildMacros.cmake index a1977f980..083380d8c 100644 --- a/cmake/Modules/BuildMacros.cmake +++ b/cmake/Modules/BuildMacros.cmake @@ -82,7 +82,11 @@ macro(build_library lib) endif() foreach(library ${TARGET_LIBS}) - target_compile_options(${library} PRIVATE -Wall) + if (NOT WIN32) + target_compile_options(${library} PRIVATE -Wall) + else () + target_compile_options(${library} PRIVATE) + endif () if(HICN_VERSION) set_target_properties(${library} |