forked from uishi/Modified_PALISADEv1.9.2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPalisadeConfig.cmake.in
29 lines (22 loc) · 1.1 KB
/
PalisadeConfig.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# - Config file for the Palisade package
# It defines the following variables
# PALISADE_INCLUDE_DIRS - include directories for Palisade
# PALISADE_LIBRARIES - libraries to link against
get_filename_component(PALISADE_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
# Our library dependencies (contains definitions for IMPORTED targets)
if(NOT Palisade_BINARY_DIR)
include("${PALISADE_CMAKE_DIR}/PalisadeTargets.cmake")
endif()
# These are IMPORTED targets created by PalisadeTargets.cmake
set(PALISADE_INCLUDE "@INSTALL_INCLUDE_DIR@")
set(PALISADE_LIBDIR "@INSTALL_LIB_DIR@")
set(PALISADE_LIBRARIES PALISADEcore PALISADEpke @THIRDPARTYLIBS@ @OpenMP_CXX_FLAGS@)
set(OPENMP_INCLUDES "@OPENMP_INCLUDES@" )
set(OPENMP_LIBRARIES "@OPENMP_LIBRARIES@" )
set(PALISADE_CXX_FLAGS "@CMAKE_CXX_FLAGS@ @OpenMP_CXX_FLAGS@")
set(PALISADE_C_FLAGS "@CMAKE_C_FLAGS@ @OpenMP_C_FLAGS@")
if( "@WITH_NTL@" STREQUAL "Y" )
set(PALISADE_CXX_FLAGS "${PALISADE_CXX_FLAGS} -DWITH_NTL" )
set(PALISADE_C_FLAGS "${PALISADE_C_FLAGS} -DWITH_NTL")
endif()
set (PALISADE_EXE_LINKER_FLAGS "@CMAKE_EXE_LINKER_FLAGS@ @OpenMP_EXE_LINKER_FLAGS@")