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:
22
22
- cd ${TRAVIS_BUILD_DIR}
23
23
- mkdir -p bin/clBLAS
24
24
- 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
26
26
27
27
script :
28
28
- 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} )
68
68
69
69
# On windows, it's convenient to change the default install prefix such that it does NOT point to 'program files' (permissions problems)
70
70
# 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 )
72
72
set ( CMAKE_INSTALL_PREFIX "${PROJECT_BINARY_DIR} /package" CACHE PATH "Install path prefix, prepended onto install directories" FORCE )
73
73
endif ( )
74
74
You can’t perform that action at this time.
0 commit comments