Commit a2cbf40b authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED DISABLED macro flag was not taken into account properly

parent 28d39796
......@@ -163,7 +163,7 @@ macro(camitk_extension)
# if this extension is enabled, do everything needed
# otherwise... do nothing
if (${TYPE_EXTENSION_CMAKE}_${EXTENSION_NAME_CMAKE})
if (${${TYPE_EXTENSION_CMAKE}_${EXTENSION_NAME_CMAKE}_ENABLED})
# TARGET NAME
# The target name is composed of the following: [action / component]-name
......@@ -965,7 +965,7 @@ macro(camitk_extension)
camitk_add_integration_test()
endif()
endif() # endif(${TYPE_EXTENSION_CMAKE}_${EXTENSION_NAME_CMAKE})
endif() # ${TYPE_EXTENSION_CMAKE}_${EXTENSION_NAME_CMAKE}_ENABLED
endmacro()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment