Only include flags if the corresponding language is available

This commit is contained in:
Jan Möbius
2021-01-21 12:18:26 +01:00
parent b919ead53b
commit 19b38a5b8b
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ enable_testing()
project (OpenMesh
VERSION 9.0.0
LANGUAGES C CXX )
LANGUAGES CXX )
# Set AUTO UIC/MOC Policy to new for CMAKE 3.17 or higher
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.17")