libyui / libyui-ncurses

libyui-ncurses
http://doc.opensuse.org/projects/libyui
19 stars 18 forks source link

Simplify ncurses finding module #73

Closed bachp closed 3 years ago

bachp commented 5 years ago

CMake will automatically look in the right locations, there is no need to re-implement the logic with a for loop and NO_DEFAULT_PATH.

It is already done like this to file the headers.

Signed-off-by: Pascal Bach pascal.bach@siemens.com

shundhammer commented 3 years ago

We completely revamped the CMake build environment recently: https://github.com/libyui/libyui-old/pull/178

And AFAICS we came to the same conclusion in the new one:

https://github.com/libyui/libyui/blob/master/libyui-ncurses/src/CMakeLists.txt#L7-L14

Thanks for your contribution!