diff --git a/examples/fallingcubes/CMakeLists.txt b/examples/fallingcubes/CMakeLists.txt index b8d87280..e716a9d7 100755 --- a/examples/fallingcubes/CMakeLists.txt +++ b/examples/fallingcubes/CMakeLists.txt @@ -42,7 +42,7 @@ endif() # Definitions if (FREEGLUT_FOUND) - add_definition(-DUSE_FREEGLUT) + ADD_DEFINITIONS(-DUSE_FREEGLUT) endif() # Create the example executable using the