file(READ version versionFile)
string(STRIP ${versionFile} SIMGEAR_VERSION)
+# use simgear version also as the SO version (if building SOs)
+SET(SIMGEAR_SOVERSION ${SIMGEAR_VERSION})
+
#packaging
SET(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/COPYING")
SET(CPACK_RESOURCE_FILE_README "${PROJECT_SOURCE_DIR}/README")
set( RT_LIBRARY "winmm" )
endif(WIN32)
+if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
+ set (WARNING_FLAGS "-Wall -Wno-overloaded-virtual")
+endif()
+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARNING_FLAGS} ${MSVC_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WARNING_FLAGS} ${MSVC_FLAGS} ${BOOST_CXX_FLAGS}")