diff --git a/ajantv2/CMakeLists.txt b/ajantv2/CMakeLists.txt index ffa572e9c..e4b6d1e0c 100644 --- a/ajantv2/CMakeLists.txt +++ b/ajantv2/CMakeLists.txt @@ -700,7 +700,7 @@ if (NOT TARGET ${PROJECT_NAME}) set(_compiler_is_gnu_or_clang $,$>) set(_compile_options_win_debug /Od /RTC1 /W3) set(_compile_options_mac_lin_debug -O0 -Wall) - target_compile_options(${PROJECT_NAME} PUBLIC + target_compile_options(${PROJECT_NAME} PRIVATE $<$,$,${_compiler_id_c_or_cxx_msvc}>:/MP /Zm200> $<$,$,${_compiler_id_c_or_cxx_msvc},$>:/O2 /W3> $<$,$,${_compiler_id_c_or_cxx_msvc},$>:${_compile_options_win_debug}>