From 3ee7f2ba128280f947e7ebf6231f06e4fd8d5ff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20Have=CC=81?= Date: Sun, 12 Nov 2023 19:05:46 +0100 Subject: [PATCH] Remove useless intermediate artefact directory from installation --- CMakeLists.txt | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1494ee4..5286790 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,12 +23,6 @@ set(EMBED_CUSTOM_BLAS ON) # # target_link_libraries(${PROJECT_NAME} INTERFACE blas) #endif () -# Did not use FetchContent since generated CMakeLists.txt doesn't support a different generator for the external project -set(lbfgsb_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Lbfgsb.3.0") -set(lbfgsb_BINARY_DIR "${CMAKE_BINARY_DIR}/lbfgsb-build") -set(lbfgsb_INSTALL_DIR "${CMAKE_BINARY_DIR}/lbfgsb-installed") -set(lbfgsb_DIR "${lbfgsb_INSTALL_DIR}/lib/cmake/lbfgsb") - target_include_directories( ${PROJECT_NAME} INTERFACE $ @@ -66,7 +60,4 @@ install( FILE ${PROJECT_NAME}Config.cmake NAMESPACE ${PROJECT_NAME}:: DESTINATION lib/cmake/${PROJECT_NAME} -) - -install(DIRECTORY - ${lbfgsb_INSTALL_DIR}/ DESTINATION ${CMAKE_INSTALL_PREFIX}) \ No newline at end of file +) \ No newline at end of file