|
@@ -36,8 +36,8 @@ public:
|
|
|
#ifdef __APPLE__
|
|
#ifdef __APPLE__
|
|
|
// on MacOS enable CPackDeb iff dpkg is found
|
|
// on MacOS enable CPackDeb iff dpkg is found
|
|
|
std::vector<std::string> locations;
|
|
std::vector<std::string> locations;
|
|
|
- locations.push_back("/sw"); // Fink
|
|
|
|
|
- locations.push_back("/opt/local"); //MacPort
|
|
|
|
|
|
|
+ locations.push_back("/sw/bin"); // Fink
|
|
|
|
|
+ locations.push_back("/opt/local/bin"); // MacPorts
|
|
|
return cmSystemTools::FindProgram("dpkg",locations) != "" ? true : false;
|
|
return cmSystemTools::FindProgram("dpkg",locations) != "" ? true : false;
|
|
|
#else
|
|
#else
|
|
|
// legacy behavior on other systems
|
|
// legacy behavior on other systems
|