File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ SET(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "Install prefix")
2626SET (COMPILE_LIGHTSPARK TRUE CACHE BOOL "Compile Lightspark?" )
2727SET (COMPILE_TIGHTSPARK TRUE CACHE BOOL "Compile Tightspark?" )
2828SET (COMPILE_PLUGIN FALSE CACHE BOOL "Compile the Firefox Plugin?" )
29+ SET (PLUGIN_DIRECTORY "/usr/lib/mozilla/plugins" CACHE STRING "Directory to install Firefox plugin to" )
2930
3031SET (CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR} /conf)
3132
Original file line number Diff line number Diff line change @@ -47,6 +47,6 @@ TARGET_LINK_LIBRARIES(lightsparkplugin ${lib_pthread} ${lib_glew} ${EXTRA_LIBS_L
4747SET_TARGET_PROPERTIES (lightsparkplugin PROPERTIES LINK_FLAGS "-Wl,--as-needed" )
4848#UNIX?
4949IF (UNIX )
50- INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR} /liblightsparkplugin.so DESTINATION /usr/lib/mozilla/plugins )
50+ INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR} /liblightsparkplugin.so DESTINATION ${PLUGIN_DIRECTORY} )
5151ENDIF (UNIX )
5252
You can’t perform that action at this time.
0 commit comments