diff options
author | dan sinclair <dj2@everburning.com> | 2018-11-21 18:24:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-21 18:24:07 -0500 |
commit | f2691ed3dd68cd1c8239fb3b378bbf4037fc94d7 (patch) | |
tree | 8b206077927734af91035a8f938886ab6e33568e /third_party | |
parent | 966f714f69becddc3612912ec9b375ed3aaa8e17 (diff) | |
download | amber-f2691ed3dd68cd1c8239fb3b378bbf4037fc94d7.tar.gz |
Match RelWithDebInfo for MSVC builds (#85)
Update build scripts to set the correct flags for the RelWithDebInfo build.
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/CMakeLists.txt | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index 1b7e2f5..886d357 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -12,12 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -if(WIN32) - option(g_force_shared_crt - "Use shared (DLL) run-time lib even when Google Test is built as static lib." - ON) -endif() - if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") # Turn off warnings to make gtest happy set(GTEST_BUILD_FIXES @@ -252,6 +246,7 @@ set(ENABLE_SPVREMAPPER OFF) # Tell Glslang to statically link the C Runtime library. set(LLVM_USE_CRT_DEBUG MTd) set(LLVM_USE_CRT_RELEASE MT) +set(LLVM_USE_CRT_RELWITHDEBINFO MT) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/glslang) set(CMAKE_CXX_FLAGS ${CXX_BACK}) |