Skip to content

Commit 191baa2

Browse files
committed
fixed build and install
1 parent 10fa576 commit 191baa2

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

src/CMakeLists.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,15 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
66

77
add_library(prlearn ${HEADER_FILES} MLearning.cpp SimpleMLearning.cpp RefinementTree.cpp structs.cpp)
88
target_include_directories (prlearn PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
9+
10+
install(TARGETS prlearn
11+
LIBRARY DESTINATION lib
12+
ARCHIVE DESTINATION lib)
13+
install (FILES MLearning.h
14+
propts.h
15+
QLearning.h
16+
RefinementTree.h
17+
SimpleMLearning.h
18+
SimpleRegressor.h
19+
structs.h
20+
DESTINATION include/prlearn)

src/SimpleRegressor.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@
2929
#include <vector>
3030
#include <map>
3131

32-
#include "avg.h"
33-
#include "statmc/propts.h"
34-
32+
#include "propts.h"
33+
#include "structs.h"
3534

3635
class SimpleRegressor
3736
{

0 commit comments

Comments
 (0)