Skip to content

Commit 0934b57

Browse files
committed
Fix compilation on Linux
1 parent e3020f3 commit 0934b57

1 file changed

Lines changed: 4 additions & 30 deletions

File tree

.cmake_linux.cmake

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,23 @@
1-
2-
## PROJECT VAR
3-
## <=====================================>
4-
project( Incaribus
5-
VERSION
6-
0.1
7-
DESCRIPTION
8-
"Example project to test ShipWreckEngine"
9-
)
101
set( EXEC incaribus )
112
set( EXT cpp )
123

13-
## SOURCE FOLDERS
14-
set( SRC_FOLDERS
15-
${CMAKE_SOURCE_DIR}/sources/
16-
${CMAKE_SOURCE_DIR}/sources/scenes/
17-
${CMAKE_SOURCE_DIR}/sources/script/
18-
${CMAKE_SOURCE_DIR}/sources/script/props/
19-
${CMAKE_SOURCE_DIR}/sources/script/character/
20-
)
21-
## INCLUDE FOLDERS
22-
set( INC_FOLDERS
23-
${CMAKE_SOURCE_DIR}/libraries/
24-
${CMAKE_SOURCE_DIR}/libraries/module/
25-
${CMAKE_SOURCE_DIR}/libraries/core/
26-
${CMAKE_SOURCE_DIR}/includes/
27-
${CMAKE_SOURCE_DIR}/includes/scenes/
28-
${CMAKE_SOURCE_DIR}/includes/script/
29-
${CMAKE_SOURCE_DIR}/includes/script/props/
30-
${CMAKE_SOURCE_DIR}/includes/script/character/
31-
)
324
## IMPORTED SHARED LIBRARY NAME
335
set( SHARED_LIB_NAME
346
Jsnp
35-
SWEngine-Core-Debug
367
SWEngine-OpenGLModule
378
glfw
389
yaml-cpp
10+
openal
11+
sndfile
3912
)
4013
## IMPORTED SHARED LIBRARY LOCATION
4114
set( SHARED_LIB_LOCATION
4215
${CMAKE_SOURCE_DIR}/libraries/libJsnp.so
43-
${CMAKE_SOURCE_DIR}/libraries/libSWEngine-Core-Debug.so
4416
${CMAKE_SOURCE_DIR}/libraries/libSWEngine-OpenGLModule.so
4517
${CMAKE_SOURCE_DIR}/libraries/libglfw.so
4618
${CMAKE_SOURCE_DIR}/libraries/libyaml-cpp.so
19+
${CMAKE_SOURCE_DIR}/libraries/libopenal.so
20+
${CMAKE_SOURCE_DIR}/libraries/libsndfile.so
4721
)
4822
## <=====================================>
4923

0 commit comments

Comments
 (0)