passing the prefix should be enough
authorcoolo <coolo@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Tue, 27 Nov 2007 15:49:03 +0000 (15:49 +0000)
committercoolo <coolo@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Tue, 27 Nov 2007 15:49:03 +0000 (15:49 +0000)
git-svn-id: http://svn.opensuse.org/svn/yast/branches/tmp/coolo/qt4-port@42453 e0cc52ee-31ee-0310-8b87-e83c4596d67c

CMakeLists.txt

index 364e5a6..2910e87 100644 (file)
@@ -1,4 +1,6 @@
 PROJECT(yast2-qt4)
+SET( CMAKE_MODULE_PATH "${CMAKE_INSTALL_PREFIX}/share/cmake/Modules" ${CMAKE_MODULE_PATH} )
+
 SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O3 -Wall -Woverloaded-virtual" )
 SET( CMAKE_C_FLAGS   "${CMAKE_C_FLAGS}   -g -O3 -Wall" )