From: ThorstenB Date: Fri, 24 Feb 2012 20:47:57 +0000 (+0100) Subject: Try to fix MSVC template instantiation issue with SGVec dependencies. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=67b3b95310c2e9af2ebc9d0e0936ae01aff5092e;hp=42dab5d81deed515841fdcc9fc8de03daaf6a9c1;p=flightgear.git Try to fix MSVC template instantiation issue with SGVec dependencies. --- 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()