X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=code%2Fsrc%2Fstage1%2FCMakeLists.txt;h=b69602f041f57e97d28a3b44733b0fd936d737f3;hb=311c5c078a9fc8ec6bb449fa685dbb1657d75d39;hp=e69ca5d25807407fefc9c8af76922f8189d098c3;hpb=fbae2f8c4efd1ef3494069ea52c136c4de126536;p=epclust.git diff --git a/code/src/stage1/CMakeLists.txt b/code/src/stage1/CMakeLists.txt index e69ca5d..b69602f 100644 --- a/code/src/stage1/CMakeLists.txt +++ b/code/src/stage1/CMakeLists.txt @@ -11,9 +11,11 @@ include_directories("${CMAKE_SOURCE_DIR}") #ppam executable (serialize, cluster, classif) #cds -find_path(CDS_INCLUDE_PATH "cds/cds.h") -find_library(CDS_LIBRARY cds) -include_directories(${CDS_INCLUDE_PATH}) +set(CGDS_INCLUDE_PATH "/usr/local/include/cgds") +#set(CGDS_LIBRARY "/usr/local/lib/libcgds.so") +#find_path(CDS_INCLUDE_PATH "cgds/cgds.h") +#find_library(CGDS_LIBRARY cgds) +include_directories(${CGDS_INCLUDE_PATH}) #GSL: standard location find_path(GSL_INCLUDE_PATH "gsl/gsl_linalg.h") @@ -33,8 +35,8 @@ include_directories(${LIBXML2_INCLUDE_DIR}) file(GLOB_RECURSE ppam_src "${CMAKE_SOURCE_DIR}/*.c") add_executable(ppam.exe ${ppam_src}) add_library(ppam SHARED ${ppam_src}) -target_link_libraries(ppam.exe m cds ${MPI_LIBRARIES} ${LIBXML2_LIBRARIES} ${GSL_LIBRARIES} ${CDS_LIBRARY}) -target_link_libraries(ppam m cds ${MPI_LIBRARIES} ${LIBXML2_LIBRARIES} ${GSL_LIBRARIES} ${CDS_LIBRARY}) +target_link_libraries(ppam.exe m cgds ${MPI_LIBRARIES} ${LIBXML2_LIBRARIES} ${GSL_LIBRARIES})# ${CGDS_LIBRARY}) +target_link_libraries(ppam m cgds ${MPI_LIBRARIES} ${LIBXML2_LIBRARIES} ${GSL_LIBRARIES})# ${CGDS_LIBRARY}) if (MPI_COMPILE_FLAGS) set_target_properties(ppam.exe PROPERTIES