Skip to content

Commit

Permalink
Fix r_static interface includes and compiler flags
Browse files Browse the repository at this point in the history
  • Loading branch information
vigsterkr committed Aug 23, 2013
1 parent 2f9be65 commit ede874a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/interfaces/r_static/CMakeLists.txt
@@ -1,4 +1,6 @@
include_directories(${CMAKE_SOURCE_DIR}/src)

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${R_CXX_FLAGS}")

add_library(r_static SHARED RInterface.cpp)
target_link_libraries(r_static shogun ${R_LIBRARIES})
2 changes: 1 addition & 1 deletion src/interfaces/r_static/RInterface.cpp
Expand Up @@ -14,7 +14,7 @@ extern "C" {

#include <stdlib.h>
#include <stdio.h>
#include "ui/SGInterface.h"
#include <shogun/ui/SGInterface.h>
#include <shogun/lib/ShogunException.h>
#include <shogun/io/SGIO.h>
#include <shogun/base/init.h>
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/r_static/RInterface.h
Expand Up @@ -3,7 +3,7 @@


#include <shogun/lib/common.h>
#include "ui/SGInterface.h"
#include <shogun/ui/SGInterface.h>

extern "C" {
#include <R.h>
Expand Down

0 comments on commit ede874a

Please sign in to comment.