GUIScript: Make LoadSymbol return an object.
[gemrb.git] / gemrb / CMakeLists.txt
blob5d40ab0119ec0f06066c5f8a29110de831398522
1 ADD_SUBDIRECTORY( core )
2 ADD_SUBDIRECTORY( plugins )
3 ADD_SUBDIRECTORY( override )
4 ADD_SUBDIRECTORY( GUIScripts )
6 ADD_EXECUTABLE(gemrb GemRB.cpp )
7 SET_TARGET_PROPERTIES(gemrb PROPERTIES INSTALL_RPATH ${LIB_DIR})
8 IF(WIN32)
9  TARGET_LINK_LIBRARIES(gemrb gemrb_core)
10 ELSE(WIN32)
11  IF(APPLE)
12   TARGET_LINK_LIBRARIES(gemrb gemrb_core ${SDL_LIBRARY} ${SDL_MAIN_LIBRARY_PATH} ${COCOA_LIBRARY_PATH} ${DLD_LIBRARY_PATH})
13  ELSE(APPLE)
14   TARGET_LINK_LIBRARIES(gemrb gemrb_core ${DLD_LIBRARY_PATH})
15  ENDIF(APPLE)
16 ENDIF(WIN32)
18 INSTALL( TARGETS gemrb DESTINATION ${BIN_DIR} )
19 INSTALL( FILES GemRB.cfg.sample GemRB.cfg.subdir.sample DESTINATION ${SYSCONF_DIR} )