added SparrowSerializer to cmake template
This commit is contained in:
parent
b824030223
commit
6468e27e24
@ -1,5 +1,5 @@
|
|||||||
# Variable that you need to define to use this template
|
# Variable that you can define to add automatic dependencies
|
||||||
# USE_SFML, USE_RENDERER, USE_INPUT, USE_BULLET, USE_OPENGL, USE_QT5
|
# USE_SFML, USE_RENDERER, USE_INPUT, USE_SERIALIZER, USE_LUA, USE_SOL2, USE_BULLET, USE_OPENGL, USE_QT5
|
||||||
#
|
#
|
||||||
# Container for list of file to be compiled :
|
# Container for list of file to be compiled :
|
||||||
# LIB_SRC_LIST, LIB_HEAD_LIST, EXEC_SRC_LIST, EXEC_HEAD_LIST
|
# LIB_SRC_LIST, LIB_HEAD_LIST, EXEC_SRC_LIST, EXEC_HEAD_LIST
|
||||||
@ -120,6 +120,17 @@ if(USE_LUA)
|
|||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(USE_SERIALIZER)
|
||||||
|
find_library(SPARROW_SERIALIZER_LIBRARY
|
||||||
|
NAMES
|
||||||
|
SparrowSerializer
|
||||||
|
PATHS
|
||||||
|
${LIB_PATHS}
|
||||||
|
)
|
||||||
|
|
||||||
|
LIST(APPEND INCLUDE_PATHS ${PROJECT_SOURCE_DIR}/../SparrowSerializer/src)
|
||||||
|
LIST(APPEND LIB_DEPENDENCIES_LIST ${SPARROW_SERIALIZER_LIBRARY})
|
||||||
|
endif()
|
||||||
|
|
||||||
if(USE_ENGINE)
|
if(USE_ENGINE)
|
||||||
find_library(SPARROW_ENGINE_LIBRARY
|
find_library(SPARROW_ENGINE_LIBRARY
|
||||||
|
Loading…
x
Reference in New Issue
Block a user