Only include flags if the corresponding language is available
This commit is contained in:
@@ -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")
|
||||
|
||||
Submodule cmake-library updated: bce3f7ba87...7399ec4ec3
Reference in New Issue
Block a user