ctkMacroBuildQtPlugin
uses ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
, which might not have been set (the user also may want to have a different directory as output)
#1073
Labels
ctkMacroBuildQtPlugin
makes use of ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}`CTK/CMake/ctkMacroBuildQtPlugin.cmake
Line 145 in dd9c675
This variable may have not been set by the project calling the macro. Possible solutions:
Make a check and trigger an error message on `${CMAKE_LIBRARY_OUTPUT_DIRECTORY} not set.
Make the⚠️ WARNING ⚠️ : This change would break the API.
PLUGIN_DIR
not a relative but an absolute directory. This will need to get propagated up toctkMacroBuildQtDesignerPlugin
and further to its caller.I would lean towards 2. The final user may want to have an output directory different from
${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
.The text was updated successfully, but these errors were encountered: