File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -389,11 +389,9 @@ if(NOT NO_LAPACKE)
389
389
install (FILES ${CMAKE_BINARY_DIR} /lapacke_mangling.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} /openblas${SUFFIX64} )
390
390
endif ()
391
391
392
- include (FindPkgConfig QUIET )
393
- if (PKG_CONFIG_FOUND )
394
- configure_file (${PROJECT_SOURCE_DIR} /cmake/openblas.pc.in ${PROJECT_BINARY_DIR} /openblas${SUFFIX64}.pc @ONLY )
395
- install (FILES ${PROJECT_BINARY_DIR} /openblas${SUFFIX64}.pc DESTINATION ${CMAKE_INSTALL_LIBDIR} /pkgconfig/ )
396
- endif ()
392
+ # Install pkg-config files
393
+ configure_file (${PROJECT_SOURCE_DIR} /cmake/openblas.pc.in ${PROJECT_BINARY_DIR} /openblas${SUFFIX64}.pc @ONLY )
394
+ install (FILES ${PROJECT_BINARY_DIR} /openblas${SUFFIX64}.pc DESTINATION ${CMAKE_INSTALL_LIBDIR} /pkgconfig/ )
397
395
398
396
399
397
# GNUInstallDirs "DATADIR" wrong here; CMake search path wants "share".
You can’t perform that action at this time.
0 commit comments