Renamed interop 'target' to 'flavour'.
This commit is contained in:
committed by
alexander-gorshenev
parent
7279873bb4
commit
a7677e2a8b
@@ -1508,29 +1508,29 @@ kotlinNativeInterop {
|
||||
sysstat {
|
||||
pkg 'sysstat'
|
||||
headers 'sys/stat.h'
|
||||
target 'native'
|
||||
flavor 'native'
|
||||
}
|
||||
|
||||
cstdlib {
|
||||
pkg 'cstdlib'
|
||||
headers 'stdlib.h'
|
||||
target 'native'
|
||||
flavor 'native'
|
||||
}
|
||||
|
||||
cstdio {
|
||||
defFile 'interop/basics/cstdio.def'
|
||||
target 'native'
|
||||
flavor 'native'
|
||||
compilerOpts '-D_POSIX_SOURCE' // Exclude Darwin extensions causing link errors.
|
||||
}
|
||||
|
||||
sockets {
|
||||
defFile 'interop/basics/sockets.def'
|
||||
target 'native'
|
||||
flavor 'native'
|
||||
}
|
||||
|
||||
if (isMac()) {
|
||||
opengl {
|
||||
target 'native'
|
||||
flavor 'native'
|
||||
compilerOpts '-framework', 'OpenGL', '-framework', 'GLUT'
|
||||
linkerOpts '-framework', 'OpenGL', '-framework', 'GLUT'
|
||||
pkg 'opengl'
|
||||
@@ -1578,4 +1578,4 @@ if (isMac()) {
|
||||
source = "interop/basics/opengl_teapot.kt"
|
||||
interop = 'opengl'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user