Skip to content

Commit

Permalink
Remove the clause from endif() statements
Browse files Browse the repository at this point in the history
François pointed out that we actually omit repeating the clause in endif()
as they add nothing except gratuitous duplication, meaning there's now two
places to update once you need to change the condition.
  • Loading branch information
danfe committed Sep 4, 2015
1 parent 9ccae20 commit ce8380d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/appleseed.cli/CMakeLists.txt
Expand Up @@ -63,7 +63,7 @@ if (UNIX AND NOT WIN32 AND NOT APPLE)
set_target_properties (appleseed.cli PROPERTIES
INSTALL_RPATH "\$ORIGIN/../lib"
)
endif (UNIX AND NOT WIN32 AND NOT APPLE)
endif ()


#--------------------------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/appleseed.studio/CMakeLists.txt
Expand Up @@ -408,7 +408,7 @@ if (UNIX AND NOT WIN32 AND NOT APPLE)
set_target_properties (appleseed.studio PROPERTIES
INSTALL_RPATH "\$ORIGIN/../lib"
)
endif (UNIX AND NOT WIN32 AND NOT APPLE)
endif ()


#--------------------------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/tools/animatecamera/CMakeLists.txt
Expand Up @@ -89,7 +89,7 @@ if (UNIX AND NOT WIN32 AND NOT APPLE)
set_target_properties (animatecamera PROPERTIES
INSTALL_RPATH "\$ORIGIN/../lib"
)
endif (UNIX AND NOT WIN32 AND NOT APPLE)
endif ()


#--------------------------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/tools/convertmeshfile/CMakeLists.txt
Expand Up @@ -87,7 +87,7 @@ if (UNIX AND NOT WIN32 AND NOT APPLE)
set_target_properties (convertmeshfile PROPERTIES
INSTALL_RPATH "\$ORIGIN/../lib"
)
endif (UNIX AND NOT WIN32 AND NOT APPLE)
endif ()


#--------------------------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/tools/dumpmetadata/CMakeLists.txt
Expand Up @@ -86,7 +86,7 @@ if (UNIX AND NOT WIN32 AND NOT APPLE)
set_target_properties (dumpmetadata PROPERTIES
INSTALL_RPATH "\$ORIGIN/../lib"
)
endif (UNIX AND NOT WIN32 AND NOT APPLE)
endif ()


#--------------------------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/tools/makefluffy/CMakeLists.txt
Expand Up @@ -86,7 +86,7 @@ if (UNIX AND NOT WIN32 AND NOT APPLE)
set_target_properties (makefluffy PROPERTIES
INSTALL_RPATH "\$ORIGIN/../lib"
)
endif (UNIX AND NOT WIN32 AND NOT APPLE)
endif ()


#--------------------------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/tools/updateprojectfile/CMakeLists.txt
Expand Up @@ -87,7 +87,7 @@ if (UNIX AND NOT WIN32 AND NOT APPLE)
set_target_properties (updateprojectfile PROPERTIES
INSTALL_RPATH "\$ORIGIN/../lib"
)
endif (UNIX AND NOT WIN32 AND NOT APPLE)
endif ()


#--------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit ce8380d

Please sign in to comment.