Skip to content

Commit 0f8c66d

Browse files
author
Kent Knox
committed
Merge pull request #116 from ghisvail/fix/cmake-config-installdir
fix install location of CMake configuration files Tested on windows by building our cmake clsparse samples; works Looked at other projects hosted on GitHub; most use the suggested path 👍
2 parents 468829a + 4a979f7 commit 0f8c66d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ include( CMakePackageConfigHelpers )
299299

300300
set( LIB_INSTALL_DIR lib${SUFFIX_LIB} )
301301
set( INCLUDE_INSTALL_DIR include )
302-
set( ConfigPackageLocation ${LIB_INSTALL_DIR}/clSPARSE/cmake )
302+
set( ConfigPackageLocation ${LIB_INSTALL_DIR}/cmake/clSPARSE )
303303

304304
configure_package_config_file(
305305
clSPARSEConfig.cmake.in

0 commit comments

Comments
 (0)