We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 653c07b commit 4a08fd5Copy full SHA for 4a08fd5
CMakeLists.txt
@@ -5,6 +5,7 @@ project(NodeEditor CXX)
5
6
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
7
set(CMAKE_DISABLE_SOURCE_CHANGES ON)
8
+set(CMAKE_DISABLE_INSTALL_TARGETS OFF)
9
10
get_directory_property(_has_parent PARENT_DIRECTORY)
11
if(_has_parent)
@@ -152,6 +153,7 @@ if(BUILD_TESTING)
152
153
add_subdirectory(test)
154
endif()
155
156
+if (NOT ${CMAKE_DISABLE_INSTALL_TARGETS})
157
###############
158
# Installation
159
##
@@ -185,3 +187,4 @@ install(FILES
185
187
${CMAKE_CURRENT_BINARY_DIR}/NodeEditorConfig.cmake
186
188
DESTINATION ${INSTALL_CONFIGDIR}
189
)
190
+endif()
0 commit comments