qpms/CMakeLists.txt

18 lines
370 B
CMake

cmake_minimum_required(VERSION 2.6)
project (QPMS)
macro(use_c99)
if (CMAKE_VERSION VERSION_LESS "3.1")
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
set (CMAKE_C_FLAGS "-std=gnu99 ${CMAKE_C_FLAGS}")
endif ()
else ()
set (CMAKE_C_STANDARD 99)
endif ()
endmacro(use_c99)
set (QPMS_VERSION_MAJOR 0)
#set (QPMS_VERSION_MINOR 3)
add_subdirectory (qpms)