Comment 6 for bug 1357072

Revision history for this message
Yuri Witte (witte) wrote :

Just to make it clear, the first lines of my hello-world's CMakeLists.txt now look like this:

project (hello-again)
cmake_minimum_required (VERSION 2.6)
list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake-modules)
list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake-modules/src)
set (DATADIR "${CMAKE_INSTALL_PREFIX}/share")

Tommy's suggestion also worked for me, but then the cmake and my app files got all mixed up... if that was confusing for a hello world app I wonder what would happen in an actual project. lol