Changes for Root6 (Mikolaj)
[u/mrichter/AliRoot.git] / EPOS / epos167 / CMakeLists.txt
index e86417f..57ef4d2 100644 (file)
@@ -17,7 +17,8 @@
 set(MODULE EPOS)
 
 # Module include folder
-include_directories(${AliRoot_SOURCE_DIR}/EPOS/epos167
+include_directories(${AliRoot_SOURCE_DIR}/EPOS
+                    ${AliRoot_SOURCE_DIR}/EPOS/epos167
                    )
 
 # Additional include folders in alphabetical order
@@ -80,11 +81,10 @@ generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}
 
 # Add a library to the project using the specified source files
 add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx ${CSRCS} ${FSRCS})
-target_link_libraries(${MODULE} STEERBase STEER EVGEN Core EG MathCore)
+target_link_libraries(${MODULE} ${LIBDEPS})
 
 # Additional compilation and linking flags
 set(CMAKE_C_FLAGS "-ansi ${CMAKE_C_FLAGS}")
-set(CMAKE_Fortran_FLAGS "-cpp")
 set(MODULE_COMPILE_FLAGS "")
 set(MODULE_LINK_FLAGS)