[vlc-devel] commit: Cmake: Fix modules/ building ( Rafaël Carré )

git version control git at videolan.org
Sun May 18 17:15:28 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun May 18 17:16:58 2008 +0200| [02eaf086c6f2a2688af8fc46339fea78f11d9604]

Cmake: Fix modules/ building

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=02eaf086c6f2a2688af8fc46339fea78f11d9604
---

 .../cmake/include/vlc_module_funcs.cmake           |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extras/buildsystem/cmake/include/vlc_module_funcs.cmake b/extras/buildsystem/cmake/include/vlc_module_funcs.cmake
index 2f576cf..5598bc7 100644
--- a/extras/buildsystem/cmake/include/vlc_module_funcs.cmake
+++ b/extras/buildsystem/cmake/include/vlc_module_funcs.cmake
@@ -18,7 +18,7 @@ MACRO(vlc_add_module module_name)
 ENDMACRO(vlc_add_module)
 
 MACRO(vlc_get_module_compile_flags var module_name)
-    set(${var} "-D__PLUGIN__ -DMODULE_NAME=${module_name} -DMODULE_NAME_IS_${module_name} -I${CMAKE_CURRENT_SOURCE_DIR} ${VLC_${module_name}_COMPILE_FLAG}")
+    set(${var} "-D__PLUGIN__ -DMODULE_STRING=\\\"${module_name}\\\" -DMODULE_NAME_IS_${module_name} -I${CMAKE_CURRENT_SOURCE_DIR} ${VLC_${module_name}_COMPILE_FLAG}")
 ENDMACRO(vlc_get_module_compile_flags)
 
 MACRO(vlc_register_modules module_state)




More information about the vlc-devel mailing list