The source code and dockerfile for the GSW2024 AI Lab.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 

17 lines
806 B

ExternalProject_Add(
BLISS-EP
URL "http://www.tcs.hut.fi/Software/bliss/bliss-${BLISS_VERSION}.zip"
DOWNLOAD_NO_PROGRESS 1
PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/resources/bliss/CMakeLists.txt <SOURCE_DIR>
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
BUILD_BYPRODUCTS ${CMAKE_BINARY_DIR}/resources/lib/libbliss{STATIC_EXT} ${CMAKE_BINARY_DIR}/resources/lib/libbliss${DYNAMIC_EXT}
)
ExternalProject_Get_Property(BLISS-EP INSTALL_DIR)
add_imported_library(BLISS SHARED "${INSTALL_DIR}/lib/libbliss${DYNAMIC_EXT}" "${INSTALL_DIR}/include")
add_imported_library(BLISS STATIC "${INSTALL_DIR}/lib/libbliss${STATIC_EXT}" "${INSTALL_DIR}/include")
add_dependencies(BLISS_SHARED BLISS-EP)
add_dependencies(BLISS_STATIC BLISS-EP)
add_dependencies(resources BLISS_SHARED BLISS_STATIC)