Browse Source

Fixed unknown target

Christophe Riccio 7 years ago
parent
commit
0fdf6a3f3a
1 changed files with 9 additions and 5 deletions
  1. 9 5
      test/core/core_setup_message.cpp

+ 9 - 5
test/core/core_setup_message.cpp

@@ -207,11 +207,15 @@ int main()
 {
 {
 	int Error = 0;
 	int Error = 0;
 
 
-	Error += test_cpp_version();
-	Error += test_compiler();
-	Error += test_model();
-	Error += test_instruction_set();
-	Error += test_operators();
+#	if !defined(GLM_FORCE_PLATFORM_UNKNOWN) && !defined(GLM_FORCE_COMPILER_UNKNOWN) && !defined(GLM_FORCE_ARCH_UNKNOWN) && !defined(GLM_FORCE_CXX_UNKNOWN)
+		
+		Error += test_cpp_version();
+		Error += test_compiler();
+		Error += test_model();
+		Error += test_instruction_set();
+		Error += test_operators();
+
+#	endif
 	
 	
 	return Error;
 	return Error;
 }
 }