From 67b3b95310c2e9af2ebc9d0e0936ae01aff5092e Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Fri, 24 Feb 2012 21:47:57 +0100 Subject: [PATCH] Try to fix MSVC template instantiation issue with SGVec dependencies. --- utils/TerraSync/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/TerraSync/CMakeLists.txt b/utils/TerraSync/CMakeLists.txt index 783cdffca..dcea912b2 100644 --- a/utils/TerraSync/CMakeLists.txt +++ b/utils/TerraSync/CMakeLists.txt @@ -9,7 +9,7 @@ target_link_libraries(terrasync if(LIBSVN_FOUND) target_link_libraries(terrasync ${LIBSVN_LIBRARIES}) - set_property(TARGET terrasync APPEND PROPERTY COMPILE_FLAGS "${APR_CFLAGS}") + set_property(TARGET terrasync APPEND PROPERTY COMPILE_FLAGS "${APR_CFLAGS} -DNO_OPENSCENEGRAPH_INTERFACE") endif()