Commit aee8abe
COMP: Ensure proxTV dependencies are found when building against ITK build tree
This issue was discovered in the following context:
* ITK configured with Module_TotalVariation:BOOL=ON
* OpenMP installed on the system: This means proxTV depends on OpenMP
* ITK used from a build tree
Error reported was the following:
CMake Error at /path/to/project-build/SlicerExecutionModel-build/CMake/SEMMacroBuildCLI.cmake:159 (add_executable):
Target "AwesomeModule" links to target "OpenMP::OpenMP_CXX" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
Modules/AwesomeModule/CMakeLists.txt:46 (SEMMacroBuildCLI)1 parent fbab387 commit aee8abe
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
100 | 107 | | |
101 | 108 | | |
102 | 109 | | |
| |||
0 commit comments