Skip to content
Snippets Groups Projects
Commit da7ba2ea authored by Jaime Arias's avatar Jaime Arias
Browse files

Add static spot libraries

parent 965fea88
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ set(SPOT_DIR "${CMAKE_BINARY_DIR}/third-party/spot")
ExternalProject_Add(SpotLibrary
PREFIX ${SPOT_DIR}
SOURCE_DIR ${SPOT_SOURCE_DIR}
CONFIGURE_COMMAND autoreconf -if ${SPOT_SOURCE_DIR} && ${SPOT_SOURCE_DIR}/configure --disable-python --prefix=<INSTALL_DIR>
CONFIGURE_COMMAND autoreconf -if ${SPOT_SOURCE_DIR} && ${SPOT_SOURCE_DIR}/configure --disable-python --prefix=<INSTALL_DIR> --enable-static
BUILD_COMMAND make -j
)
include_directories("${SPOT_DIR}/include")
......
......@@ -10,12 +10,12 @@ find_package(OpenSSL)
include_directories(${OPENSSL_INCLUDE_DIR})
# include spot library
add_library(spot SHARED IMPORTED)
set_target_properties(spot PROPERTIES IMPORTED_LOCATION "${SPOT_DIR}/lib/libspot.so")
add_library(spot STATIC IMPORTED)
set_target_properties(spot PROPERTIES IMPORTED_LOCATION "${SPOT_DIR}/lib/libspot.a")
# include bddx library
add_library(bddx SHARED IMPORTED)
set_target_properties(bddx PROPERTIES IMPORTED_LOCATION "${SPOT_DIR}/lib/libbddx.so")
add_library(bddx STATIC IMPORTED)
set_target_properties(bddx PROPERTIES IMPORTED_LOCATION "${SPOT_DIR}/lib/libbddx.a")
# Hybrid SOG executable
add_executable(pmc-sog main.cpp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment