AZO234 / NP2kai

Neko Project II kai
http://domisan.sakura.ne.jp/article/np2kai/np2kai.html
MIT License
246 stars 61 forks source link

Updated CMakeLists.txt for specifing destination folder of xnp21kai #102

Closed frank-deng closed 4 years ago

AZO234 commented 4 years ago

Those files are detected with TYPE parameter, Then install directory is decided automatically.

Check 'Installing files' in CMake document. https://cmake.org/cmake/help/latest/command/install.html#installing-files

frank-deng commented 4 years ago

The target directories have been updated according to the documentation, but I'm still not sure whether the manpage target is correct. Also how to link with SDL_net using CMake?

AZO234 commented 4 years ago

I think this mod is unnecessary. Let CMake.

frank-deng commented 4 years ago

My CMake always reports error and cannot generate makefile before I add these scripts.

AZO234 commented 4 years ago

What is version your CMake? What do you use UNIX system? Please tell me.

frank-deng commented 4 years ago

My cmake version is 3.13.4 under Debian 10, and I'm also going to add add include(GNUInstallDirs) at the top of CMakeLists.txt