File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ before_script:
2222 - cd ${TRAVIS_BUILD_DIR}
2323 - mkdir -p bin/clBLAS
2424 - cd bin/clBLAS
25- - cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TEST=OFF -DBUILD_CLIENT=ON ../../src
25+ - cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TEST=OFF -DBUILD_CLIENT=ON -DCMAKE_INSTALL_PREFIX:PATH=$PWD/package ../../src
2626
2727script :
2828 - make install
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR} )
6868
6969# On windows, it's convenient to change the default install prefix such that it does NOT point to 'program files' (permissions problems)
7070# Need to check out CMAKE_RUNTIME_OUTPUT_DIRECTORY variable, and see if that eliminates the need to modify install path
71- if ( CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT )
71+ if ( WIN32 AND CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT )
7272 set ( CMAKE_INSTALL_PREFIX "${PROJECT_BINARY_DIR} /package" CACHE PATH "Install path prefix, prepended onto install directories" FORCE )
7373endif ( )
7474
You can’t perform that action at this time.
0 commit comments