summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Volz <rvolz@mit.edu>2019-07-05 16:36:15 -0400
committerMarcus Müller <marcus@hostalia.de>2019-07-25 11:08:08 +0200
commit865ee813535b93193c90857dbdd456e6aca44a78 (patch)
tree15437b47908ff61fc5a74cccd246ccea09c7bc37
parentdc50d014cf45dc4633a642b5d745e94bcd82a3d5 (diff)
Change /MP and /bigobj to compile_options for Ninja compatibility.
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 963b3228c6..404e3be9fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -219,8 +219,8 @@ if(MSVC)
-D_CRT_NONSTDC_NO_DEPRECATE
)
add_definitions(-DHAVE_CONFIG_H)
- add_definitions(/MP) #build with multiple processors
- add_definitions(/bigobj) #allow for larger object files
+ add_compile_options(/MP) #build with multiple processors
+ add_compile_options(/bigobj) #allow for larger object files
endif(MSVC)
if(WIN32)