Page MenuHomePhabricator

projectTemplate and PluginGenerator test fail due to erroneous CMAKE_PREFIX_PATH
Closed, ResolvedPublic

Description

Items in CMAKE_PREFIX_PATH are interpreted as a list of arguments instead of one seperated argument.

string (REPLACE ";" "$<SEMICOLON>" CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH}")
in mitkTestPluginGenerator.cmake and mitkTestProjectTemplate.cmake fixes the issue.

Event Timeline

User kolbch has pushed new remote branch:

bug-19671-ReplaceListWithSemicolons

[0180c3]: Merge branch 'bug-19671-ReplaceListWithSemicolons'

Merged commits:

2016-04-12 13:26:28 Christoph Kolb [29492d]
Replace semicolons with escaped in order to pass CMAKE_PREFIX_PATH as one argument.