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