Coding convetion violations fixed.
[u/mrichter/AliRoot.git] / CMakeLists.txt
index 932c987..0edd1fa 100644 (file)
@@ -30,6 +30,7 @@ else()
   message(STATUS "AliRoot files will be installed in ${ALICE_INSTALL}")
 endif(NOT ALICE_INSTALL)
 
+get_filename_component(PROJECT_SOURCE_DIR "${PROJECT_SOURCE_DIR}" REALPATH)
 set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
 
 include(ALICE_CMake)
@@ -180,13 +181,15 @@ set(EXPORTFILES)
 add_custom_target(alilibs-static)
 add_custom_target(include-headers)
 add_custom_target(DA-all)
+
+
 # Add Modules
 # ------------------------------
 foreach(MODULE ${MODDIRS})
   set(${MODULE}ALIBS)
   configure_file(${PROJECT_SOURCE_DIR}/cmake/Module.tmp ${PROJECT_SOURCE_DIR}/${MODULE}/CMakeLists.txt @ONLY)
   add_custom_target(${MODULE}-all ALL)
-  add_custom_target(${MODULE}-static)
+  add_custom_target(${MODULE}-all-static)
   add_dependencies(alilibs-static "${MODULE}-static")
   add_subdirectory(${MODULE})
 endforeach(MODULE)
@@ -199,6 +202,10 @@ endif(DATE_FOUND AND AMORE_FOUND)
 # Additional Targets                                                             #
 #--------------------------------------------------------------------------------#
 
+# AliMdc RPM
+# ------------------------------
+
+
 include (InstallRequiredSystemLibraries)
 include (CPack)