diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-06 12:24:32 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-06 12:24:32 +0200 |
commit | 0d42cba7e4871d2f099fd93e757556a0502d6714 (patch) | |
tree | d0e385f488bbf3d18f85ad24e432830feefebc61 /cmake/opentrack-build.cmake | |
parent | f69ac22aa0dbe7218c33a374133c88e8f4e5a65a (diff) |
cmake: add universally good build defaults
These were in the mingw-w64 toolchain file but it's good to have them in
general.
Diffstat (limited to 'cmake/opentrack-build.cmake')
-rw-r--r-- | cmake/opentrack-build.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/opentrack-build.cmake b/cmake/opentrack-build.cmake new file mode 100644 index 00000000..6f23f561 --- /dev/null +++ b/cmake/opentrack-build.cmake @@ -0,0 +1,5 @@ +if(NOT CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "" FORCE) +endif() + +set(CMAKE_BUILD_TYPE_INIT "RELEASE") |