Skip to content

Commit fa3f7e9

Browse files
authored
Add example install directory to CMake configuration
1 parent 74be75b commit fa3f7e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,10 @@ sofa_create_package_with_targets(
148148
TARGETS ${PROJECT_NAME} AUTO_SET_TARGET_PROPERTIES
149149
INCLUDE_SOURCE_DIR "src"
150150
INCLUDE_INSTALL_DIR ${PROJECT_NAME}
151+
EXAMPLE_INSTALL_DIR "examples"
151152
RELOCATABLE "plugins"
152153
)
153154

154155
# Organize projects into folders
155156
SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS ON)
156-
SET_PROPERTY(TARGET ${PROJECT_NAME} PROPERTY FOLDER "plugins")
157+
SET_PROPERTY(TARGET ${PROJECT_NAME} PROPERTY FOLDER "plugins")

0 commit comments

Comments
 (0)