Browse Source

fixes for linux

cl-refactor
Marek Kotewicz 10 years ago
parent
commit
70512e7d76
  1. 8
      cmake/Findv8.cmake
  2. 3
      libjsconsole/JSConsole.cpp

8
cmake/Findv8.cmake

@ -22,14 +22,8 @@ find_library(
DOC "v8 library" DOC "v8 library"
) )
find_library(
V8_BASE_LIBRARY
NAMES v8_base
DOC "v8 base library"
)
set(V8_INCLUDE_DIRS ${V8_INCLUDE_DIR}) set(V8_INCLUDE_DIRS ${V8_INCLUDE_DIR})
set(V8_LIBRARIES ${V8_LIBRARY} ${V8_BASE_LIBRARY}) set(V8_LIBRARIES ${V8_LIBRARY})
# debug library on windows # debug library on windows
# same naming convention as in qt (appending debug library with d) # same naming convention as in qt (appending debug library with d)

3
libjsconsole/JSConsole.cpp

@ -26,8 +26,9 @@
#include "JSV8Connector.h" #include "JSV8Connector.h"
#include "libjsconsole/JSConsoleResources.hpp" #include "libjsconsole/JSConsoleResources.hpp"
// TODO: readline! // TODO! make readline optional!
#include <readline/readline.h> #include <readline/readline.h>
#include <readline/history.h>
using namespace std; using namespace std;
using namespace dev; using namespace dev;

Loading…
Cancel
Save