From 805939686c42c0dd03113914c007d616dc0a0d09 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 22 May 2016 13:16:55 +0200 Subject: [PATCH] Visual C++ genenrate ASM code for GLM tests --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a11c561c..6c79d3bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -157,6 +157,10 @@ if(CMAKE_COMPILER_IS_GNUCXX) #ctest_enable_coverage() endif() +if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") + add_definitions(/FAs) +endif() + include_directories("${PROJECT_SOURCE_DIR}") include_directories("${PROJECT_SOURCE_DIR}/test/external")