File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ endif(NOT MSVC)
15
15
# If we need to change something based on this running on CI, we can use if(DEFINED ENV{GITHUB_ACTION})
16
16
if (APPLE )
17
17
set (ERLANG_INCLUDE_PATH "/usr/local/lib/erlang/usr/include" CACHE PATH "Path to erlang includes" )
18
+ elseif (UNIX )
19
+ set (ERLANG_INCLUDE_PATH "/usr/lib/erlang/usr/include" CACHE PATH "Path to erlang includes" )
18
20
elseif (MSVC )
19
21
if (DEFINED ENV{GITHUB_ACTION} )
20
22
set (ERLANG_INCLUDE_PATH "C:/Program Files/erl10.7/usr/include" CACHE PATH "Path to erlang includes" )
@@ -70,5 +72,6 @@ elseif(APPLE)
70
72
target_link_libraries (libsp_link Ableton::Link "-framework CoreMIDI -framework CoreAudio -framework CoreFoundation -framework Accelerate -framework QuartzCore -framework AudioToolbox -framework IOKit -framework DiscRecording -framework Cocoa" )
71
73
elseif (UNIX )
72
74
add_definitions (-DLINUX=1 -DNDEBUG=1 )
75
+ include_directories (${ERLANG_INCLUDE_PATH} )
73
76
target_link_libraries (libsp_link Ableton::Link )
74
77
endif (MSVC )
You can’t perform that action at this time.
0 commit comments