This commit is contained in:
Christophe Alexandre 2008-01-10 22:26:35 +00:00
parent 31f69a55fb
commit c465282355
1 changed files with 15 additions and 0 deletions

15
hurricane/CMakeLists.txt Normal file
View File

@ -0,0 +1,15 @@
project(HURRICANE)
cmake_minimum_required(VERSION 2.4.0)
set(CMAKE_MODULE_PATH "${HURRICANE_SOURCE_DIR}/cmake_modules/")
find_package(Qt4 REQUIRED) # find and setup Qt4 for this project
find_package(BISON REQUIRED)
find_package(FLEX REQUIRED)
add_subdirectory(src)
set(DEST_DIR "$ENV{DESTDIR}")
configure_file(${HURRICANE_SOURCE_DIR}/hurricane.pc.cmake hurricane.pc @ONLY)
install(FILES ${HURRICANE_BINARY_DIR}/hurricane.pc DESTINATION /share/pkgconfig)