cmake: Fix convert_vlc_to_cmake for qt4.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 8 Feb 2008 16:39:40 +0000 (16:39 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 8 Feb 2008 16:39:40 +0000 (16:39 +0000)
extras/buildsystem/cmake/scripts/convert_vlc_to_cmake.sh

index c983b98..4dbd4d6 100755 (executable)
@@ -19,9 +19,6 @@ ln -sf ../$cmake_dir/CMakeLists/src_CMakeLists.txt src/CMakeLists.txt
 echo "Installing modules/CMakeLists.txt"
 ln -s ../$cmake_dir/CMakeLists/modules_CMakeLists.txt modules/CMakeLists.txt
 
-echo "Installing modules/gui/qt4/CMakeLists.txt"
-ln -s ../../../$cmake_dir/CMakeLists/qt4_CMakeLists.txt modules/gui/qt4/CMakeLists.txt
-
 echo "Installing po/CMakeLists.txt"
 ln -s ../$cmake_dir/CMakeLists/po_CMakeLists.txt po/CMakeLists.txt
 
@@ -34,3 +31,7 @@ ln -sf $cmake_dir/include cmake
 echo "Generating CMakeLists for modules/"
 sh $cmake_dir/scripts/convert_modules_to_cmake.sh modules
 
+echo "Installing modules/gui/qt4/CMakeLists.txt"
+rm -f modules/gui/qt4/CMakeLists.txt
+ln -sf ../../../$cmake_dir/CMakeLists/qt4_CMakeLists.txt modules/gui/qt4/CMakeLists.txt
+