diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-06-06 21:56:02 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-06-08 00:25:17 +0200 |
| commit | 0167e527cdb96120c55fe4bdd6bcfb78d5f94f56 (patch) | |
| tree | 69bb098fdbea2f70f8cf87061a88b2b6d930db93 | |
| parent | bf3ad3f9e4d1fda68c30ca1c9a9c538390e43010 (diff) | |
| download | jancity-0167e527cdb96120c55fe4bdd6bcfb78d5f94f56.tar.gz | |
CMakeLists.txt: assume native build by default
This has been decided to make the de-facto standard CMake build process
(shown below) possible.
$ mkdir build
$ cd build/
$ cmake ..
| -rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fb20912..d17a131 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,11 +5,10 @@ option(HOST_BUILD "Build for host platform using SDL-1.2" OFF) option(WIN9X_BUILD "Build for Win9x using SDL-1.2" OFF) if(NOT PS1_BUILD AND NOT HOST_BUILD AND NOT WIN9X_BUILD) - message(FATAL_ERROR "Please define target platform. Available options: - PS1_BUILD - HOST_BUILD - WIN9X_BUILD - Run CMake again using one of the available platforms e.g.: cmake .. -DPS1_BUILD=1") + message(STATUS "Assuming native build. " +"Please use one of the available options in CMakeLists.txt to " +"cross-compile for a specific target.") + set(HOST_BUILD ON) endif() if(PS1_BUILD) |
