diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-03-14 09:21:10 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-03-14 09:21:10 +0100 |
commit | 69003943c7a1107317395e23384633691b9be801 (patch) | |
tree | fedbbbb676d5218e0a2e18746f3ae83791a18897 /cmake | |
parent | 8da1bc08b2ec7b1d3d8ef18a9f459b2ac4c0c2e4 (diff) |
cmake: some cleanup
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/opentrack-platform.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake index eced4201..3276b832 100644 --- a/cmake/opentrack-platform.cmake +++ b/cmake/opentrack-platform.cmake @@ -21,9 +21,9 @@ # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR # OTHER DEALINGS IN THE SOFTWARE. -if(NOT CMAKE_BUILD_TYPE) +if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) set(CMAKE_BUILD_TYPE "RELEASE" CACHE STRING "" FORCE) - set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install") + set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "" FORCE) endif() if(APPLE) |