From 2c980e6b1bf30c10dcba029a37c3c27760e61b2f Mon Sep 17 00:00:00 2001 From: Jacob Storen Date: Wed, 17 Jun 2015 05:51:22 -0700 Subject: [PATCH] Linux compile fixes --- ApplicationCode/GeoMech/GeoMechDataModel/CMakeLists.txt | 3 ++- Fwk/AppFwk/cafTensor/cafTensor3.inl | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ApplicationCode/GeoMech/GeoMechDataModel/CMakeLists.txt b/ApplicationCode/GeoMech/GeoMechDataModel/CMakeLists.txt index 0716337f52..b7fbf20e04 100644 --- a/ApplicationCode/GeoMech/GeoMechDataModel/CMakeLists.txt +++ b/ApplicationCode/GeoMech/GeoMechDataModel/CMakeLists.txt @@ -4,6 +4,7 @@ project (RigGeoMechDataModel) include_directories( ${LibCore_SOURCE_DIR} + ${cafTensor_SOURCE_DIR} ../../ResultStatisticsCache ../OdbReader ) @@ -33,4 +34,4 @@ add_library( ${PROJECT_NAME} RigFemResultPosEnum.h ) -target_link_libraries( ${PROJECT_NAME} LibCore ResultStatisticsCache) \ No newline at end of file +target_link_libraries( ${PROJECT_NAME} LibCore cafTensor ResultStatisticsCache) diff --git a/Fwk/AppFwk/cafTensor/cafTensor3.inl b/Fwk/AppFwk/cafTensor/cafTensor3.inl index b12a01ff36..1b21b9a545 100644 --- a/Fwk/AppFwk/cafTensor/cafTensor3.inl +++ b/Fwk/AppFwk/cafTensor/cafTensor3.inl @@ -22,6 +22,7 @@ #include "cvfSystem.h" #include #include "cvfMatrix3.h" +#include namespace caf {