summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VS10Project/VsNoCompileBatching.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/VS10Project/VsNoCompileBatching.cmake')
-rw-r--r--Tests/RunCMake/VS10Project/VsNoCompileBatching.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/VS10Project/VsNoCompileBatching.cmake b/Tests/RunCMake/VS10Project/VsNoCompileBatching.cmake
index c96edce..b405136 100644
--- a/Tests/RunCMake/VS10Project/VsNoCompileBatching.cmake
+++ b/Tests/RunCMake/VS10Project/VsNoCompileBatching.cmake
@@ -2,8 +2,8 @@ enable_language(CXX)
add_library(foo foo.cpp)
+set(CMAKE_VS_NO_COMPILE_BATCHING ON)
add_library(foo_NB foo.cpp)
-set_property(TARGET foo_NB PROPERTY VS_NO_COMPILE_BATCHING ON)
add_library(foo_NB_OFF foo.cpp)
set_property(TARGET foo_NB_OFF PROPERTY VS_NO_COMPILE_BATCHING OFF)