Commit e3421975 authored by dionoea's avatar dionoea
Browse files

Define DATA_PATH in the root CMakeList.txt since modules might need it (for...

Define DATA_PATH in the root CMakeList.txt since modules might need it (for example the http intf or the lua module)
parent ce1cf0e7
...@@ -14,6 +14,7 @@ include( config ) ...@@ -14,6 +14,7 @@ include( config )
# Global definitions # Global definitions
add_definitions(-DHAVE_CONFIG_H) add_definitions(-DHAVE_CONFIG_H)
add_definitions(-D__LIBVLC__) add_definitions(-D__LIBVLC__)
add_definitions(-DDATA_PATH=\\"${CMAKE_INSTALL_PREFIX}/share/vlc\\")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99")
set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_INCLUDE_CURRENT_DIR ON)
......
...@@ -2,7 +2,6 @@ include_directories( . ) ...@@ -2,7 +2,6 @@ include_directories( . )
add_definitions(-Dasm=__asm__ -D_INTL_REDIRECT_MACROS) add_definitions(-Dasm=__asm__ -D_INTL_REDIRECT_MACROS)
add_definitions(-DLOCALEDIR=\\"${CMAKE_INSTALL_PREFIX}/locale\\") add_definitions(-DLOCALEDIR=\\"${CMAKE_INSTALL_PREFIX}/locale\\")
add_definitions(-DDATA_PATH=\\"${CMAKE_INSTALL_PREFIX}/share/vlc\\")
add_definitions(-DPLUGIN_PATH=\\"${CMAKE_INSTALL_PREFIX}/lib/vlc\\") add_definitions(-DPLUGIN_PATH=\\"${CMAKE_INSTALL_PREFIX}/lib/vlc\\")
# vlc # vlc
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment