Specify language in project call

This commit is contained in:
Jan Möbius
2021-01-21 11:45:23 +01:00
parent f558c26e3f
commit e416517c59

View File

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