Skip to content

Commit

Permalink
COMP: Fix missing ctkCompilerDetections_p.h when building configadmin…
Browse files Browse the repository at this point in the history
… tests

This commit fixes the error reported below when building CTK
with:
  -DQt5_DIR:PATH=/path/to/Qt5 -DCTK_QT_VERSION:STRING=5 -DCTK_PLUGIN_org.commontk.configadmin:BOOL=1

```
In file included from /home/jcfr/Projects/CTK/Libs/PluginFramework/ctkPluginConstants.h:27:0,
                 from /home/jcfr/Projects/CTK/Plugins/org.commontk.configadmin/Testing/Cpp/ctkConfigAdminImplTestMain.cpp:26:
/home/jcfr/Projects/CTK-build/CTK-build/Libs/PluginFramework/ctkPluginFrameworkExport.h:11:37: fatal error: ctkCompilerDetections_p.h: No such file or directory
compilation terminated.

```

Fixes commontk#802
  • Loading branch information
jcfr committed Jun 4, 2018
1 parent f09d599 commit d3a8ec4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set(MY_MOC_CXX )

set(test_executable ${PROJECT_NAME}CppTests)

set(${test_executable}_DEPENDENCIES ${fw_lib} ${fwtestutil_lib})
set(${test_executable}_DEPENDENCIES ${fw_lib} ${fwtestutil_lib} CTKCore)

set(my_includes)
ctkFunctionGetIncludeDirs(my_includes ${test_executable})
Expand Down

0 comments on commit d3a8ec4

Please sign in to comment.