From c46528235503f6bea9134e7a0d5b5a4e4fea263c Mon Sep 17 00:00:00 2001 From: Christophe Alexandre Date: Thu, 10 Jan 2008 22:26:35 +0000 Subject: [PATCH] add --- hurricane/CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 hurricane/CMakeLists.txt diff --git a/hurricane/CMakeLists.txt b/hurricane/CMakeLists.txt new file mode 100644 index 00000000..65242362 --- /dev/null +++ b/hurricane/CMakeLists.txt @@ -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)