Skip to content

Commit df042d0

Browse files
committed
Build fixes #7
1 parent 12945d3 commit df042d0

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ IF (NOT DEVICE)
2323
ENDIF()
2424

2525
IF (NOT DEPS_PATH)
26-
SET(DEPS_PATH ../deps)
26+
IF (APPLE)
27+
SET(DEPS_PATH deps/macosx-x64-${DEVICE})
28+
ELSE()
29+
SET(DEPS_PATH deps/linux-x64-${DEVICE})
30+
ENDIF()
2731
ENDIF()
2832

2933
IF (NOT INSTALL_PATH)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ Once the dependencies are downloaded, build the module itself. Note that
6464
CMake 3.0 or higher is required.
6565

6666
```sh
67-
mkdir build
68-
cd build
67+
mkdir bin
68+
cd bin
6969
cmake ..
7070
make && make install
7171
cd ..

0 commit comments

Comments
 (0)