diff --git a/CMakeLists.txt b/CMakeLists.txt index 96544c8446..32e873f009 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -187,10 +187,10 @@ if(MSVC) # Add this to ensure Cubeb uses the same runtime add_compile_options( - $<$:/${libflag}d> - $<$:/${libflag}> - $<$:/${libflag}> - $<$:/${libflag}> + $<$:$<$:/${libflag}d>> + $<$:$<$:/${libflag}>> + $<$:$<$:/${libflag}>> + $<$:$<$:/${libflag}>> ) endif()