mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-25 13:25:37 +00:00
Fixed building non-debug builds.
This commit is contained in:
@@ -70,7 +70,7 @@ struct BuildEnv {
|
||||
// Hide it in ifdef so that the binary does not contain it unless required.
|
||||
return "@CMAKE_SOURCE_DIR@";
|
||||
#else
|
||||
throw std::logic_error("This function is unavailable in non-debug builds.");
|
||||
return ""; // not available in non-debug builds
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user