1 IF(WITH_STATIC_DRIVERS)
2 ADD_DEFINITIONS(-DNL_STATIC)
6 # On Win32 we can also build the MAX plugins.
8 FIND_PACKAGE(3dsMaxSDK)
13 FIND_PACKAGE(FreeType)
24 FIND_PACKAGE(FFmpeg REQUIRED COMPONENTS AVCODEC AVFORMAT AVUTIL SWRESAMPLE)
27 IF(WITH_DRIVER_OPENAL)
40 IF(WITH_INSTALL_LIBRARIES)
42 SET(prefix ${CMAKE_INSTALL_PREFIX})
43 SET(exec_prefix ${NL_BIN_ABSOLUTE_PREFIX})
44 SET(libdir ${NL_LIB_ABSOLUTE_PREFIX})
45 SET(includedir ${CMAKE_INSTALL_PREFIX}/include)
46 SET(enable_ligo ${WITH_LIGO})
47 SET(enable_logic ${WITH_LOGIC})
48 SET(enable_georges ${WITH_GEORGES})
49 SET(enable_net ${WITH_NET})
50 SET(enable_3d ${WITH_3D})
51 SET(enable_pacs ${WITH_PACS})
52 SET(enable_sound ${WITH_SOUND})
53 CONFIGURE_FILE(nel-config.in ${CMAKE_CURRENT_BINARY_DIR}/nel-config)
55 INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/nel-config DESTINATION ${NL_BIN_PREFIX})
58 ADD_SUBDIRECTORY(include)
61 ADD_SUBDIRECTORY(3rdparty)
65 ADD_SUBDIRECTORY(samples)
68 ADD_SUBDIRECTORY(tools)