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 @@ -67,7 +67,7 @@ set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR} )
67
67
68
68
# On windows, it's convenient to change the default install prefix such that it does NOT point to 'program files' (permissions problems)
69
69
# Need to check out CMAKE_RUNTIME_OUTPUT_DIRECTORY variable, and see if that eliminates the need to modify install path
70
- if ( CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT )
70
+ if ( WIN32 AND CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT )
71
71
set ( CMAKE_INSTALL_PREFIX "${PROJECT_BINARY_DIR} /package" CACHE PATH "Install path prefix, prepended onto install directories" FORCE )
72
72
endif ( )
73
73
You can’t perform that action at this time.
0 commit comments