Skip to content

Commit b0e2b0b

Browse files
author
Yury Rakhuba
committed
optionally disable install targets
1 parent 653c07b commit b0e2b0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ if(BUILD_TESTING)
152152
add_subdirectory(test)
153153
endif()
154154

155+
if (NOT ${CMAKE_DISABLE_INSTALL_TARGETS})
155156
###############
156157
# Installation
157158
##
@@ -185,3 +186,4 @@ install(FILES
185186
${CMAKE_CURRENT_BINARY_DIR}/NodeEditorConfig.cmake
186187
DESTINATION ${INSTALL_CONFIGDIR}
187188
)
189+
endif()

0 commit comments

Comments
 (0)