Cmake looks for modules in source directory
authorjjose <jjose@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Oct 2010 09:07:16 +0000 (09:07 +0000)
committerjjose <jjose@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Oct 2010 09:07:16 +0000 (09:07 +0000)
CMakeLists.txt

index 2d2eac6..d20347e 100644 (file)
@@ -30,7 +30,7 @@ else()
   message(STATUS "AliRoot files will be installed in ${ALICE_INSTALL}")
 endif(NOT ALICE_INSTALL)
 
-set(CMAKE_MODULE_PATH "${ALICE_ROOT}/cmake")
+set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
 
 include(ALICE_CMake)