SET(QUASARS_PLUGIN_MAJOR "0") SET(QUASARS_PLUGIN_MINOR "1") SET(QUASARS_PLUGIN_PATCH "13") SET(QUASARS_VERSION "${QUASARS_PLUGIN_MAJOR}.${QUASARS_PLUGIN_MINOR}.${QUASARS_PLUGIN_PATCH}") IF(APPLE) SET(CMAKE_INSTALL_PREFIX $ENV{HOME}/Library/Application\ Support/Stellarium) ELSE(APPLE) SET(CMAKE_INSTALL_PREFIX $ENV{HOME}/.stellarium) ENDIF(APPLE) ADD_DEFINITIONS(-DQUASARS_PLUGIN_VERSION="${QUASARS_VERSION}") ADD_SUBDIRECTORY( src ) INSTALL(FILES DESTINATION "modules/Quasars")