diff options
author | Senthil <schellap@microsoft.com> | 2016-01-21 07:45:27 +0300 |
---|---|---|
committer | Senthil <schellap@microsoft.com> | 2016-01-29 13:05:09 +0300 |
commit | e8cc957fcf728e168d73e99dabe97d32a2965125 (patch) | |
tree | 6ac8b5c868987f26dab65158a37bd8816244e8ed /src/Native/CMakeLists.txt | |
parent | f60bc0fe53f88907ec554b558f974e54cf5dd241 (diff) |
Fix project.json syntax for dotnet restore
Diffstat (limited to 'src/Native/CMakeLists.txt')
-rw-r--r-- | src/Native/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Native/CMakeLists.txt b/src/Native/CMakeLists.txt index 2a6f82b7c..3ac29f6a4 100644 --- a/src/Native/CMakeLists.txt +++ b/src/Native/CMakeLists.txt @@ -186,6 +186,9 @@ if(WIN32) add_definitions(-DUNICODE=1) add_compile_options($<$<CONFIG:Debug>:-DDEBUG>) add_compile_options(/Zi) # enable debugging information + add_compile_options($<$<CONFIG:Debug>:/MTd>) + add_compile_options($<$<CONFIG:Release>:/MT>) + add_compile_options($<$<CONFIG:RelWithDefInfo>:/MT>) set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /PDBCOMPRESS") #shrink pdb size set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /DEBUG") else(WIN32) |