Skip to content

Commit 9cd0a98

Browse files
authored
fix: update cmake file to work on apple M1 (#18)
Signed-off-by: David Nixon <[email protected]> Signed-off-by: David Nixon <[email protected]>
1 parent 20e00f0 commit 9cd0a98

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ if(IS_DIRECTORY "${SDL2_INCLUDE_DIRS}")
1111
include_directories(SYSTEM "${SDL2_PARENT_DIR}")
1212
else()
1313
message(STATUS "SDL2 includes is probably multiple directories ${SDL2_INCLUDE_DIRS}")
14+
include_directories(SYSTEM "${SDL2_INCLUDE_DIRS}")
1415
endif()
1516

1617
# Add Node

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sdl2-gamecontroller",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"scripts": {
55
"install": "cmake-js compile",
66
"lint": "prettier --write *.js *.ts test/*js test/*.ts",
@@ -25,7 +25,7 @@
2525
"dualshock"
2626
],
2727
"author": "David Nixon",
28-
"license": "apache-2.0",
28+
"license": "MIT",
2929
"devDependencies": {
3030
"@types/node": "^8.10.66",
3131
"@typescript-eslint/eslint-plugin": "^5.17.0",

0 commit comments

Comments
 (0)