/indra/media_plugins/base/CMakeLists.txt
CMake | 49 lines | 36 code | 11 blank | 2 comment | 2 complexity | ac82edada11879903176fb7b37110c59 MD5 | raw file
Possible License(s): LGPL-2.1
1# -*- cmake -*- 2 3project(media_plugin_base) 4 5include(00-Common) 6include(LLCommon) 7include(LLImage) 8include(LLPlugin) 9include(LLMath) 10include(LLRender) 11include(LLWindow) 12include(Linking) 13include(PluginAPI) 14include(FindOpenGL) 15 16include_directories( 17 ${LLPLUGIN_INCLUDE_DIRS} 18 ${LLCOMMON_INCLUDE_DIRS} 19 ${LLMATH_INCLUDE_DIRS} 20 ${LLIMAGE_INCLUDE_DIRS} 21 ${LLRENDER_INCLUDE_DIRS} 22 ${LLWINDOW_INCLUDE_DIRS} 23) 24 25 26### media_plugin_base 27 28if(NOT WORD_SIZE EQUAL 32) 29 if(WINDOWS) 30 add_definitions(/FIXED:NO) 31 else(WINDOWS) # not windows therefore gcc LINUX and DARWIN 32 add_definitions(-fPIC) 33 endif(WINDOWS) 34endif(NOT WORD_SIZE EQUAL 32) 35 36set(media_plugin_base_SOURCE_FILES 37 media_plugin_base.cpp 38) 39 40set(media_plugin_base_HEADER_FILES 41 CMakeLists.txt 42 43 media_plugin_base.h 44) 45 46add_library(media_plugin_base 47 ${media_plugin_base_SOURCE_FILES} 48) 49