include(SetThirdParty) #include_directories("/home/app/pythonenvs/rosetta/pkgs/python-3.6.5-hc3d631a_2/include/python3.6m") #include_directories("/home/app/pythonenvs/rosetta/lib/python3.6/site-packages/numpy/core/include") include_directories(${PYTHONINC}) include_directories(${NPINC}) include_directories("../") include_directories("../third_party/emp-toolkit/emp-tool") message(${PYTHONINC}) message(${CMAKE_LIBRARY_OUTPUT_DIRECTORY}) message(${CMAKE_CURRENT_SOURCE_DIR}) file(GLOB_RECURSE MPC_SNN_FILES "../modules/protocol/mpc/snn/src/*.cpp") file(GLOB_RECURSE MPC_MPC_FILES "../modules/protocol/mpc/comm/src/*.cpp") file(GLOB_RECURSE MPC_PUB_FILES "../modules/protocol/public/src/*.cpp") file(GLOB_RECURSE MPC_IOWARP_FILES "../modules/iowrapper/src/*.cpp") file(GLOB_RECURSE MPC_UTIL_FILES "../modules/protocol/utility/src/*.cpp") file(GLOB_RECURSE MPC_COMMON_FILES "../modules/common/src/*.cpp") file(GLOB_RECURSE MPC_IO_FILES "../third_party/io/src/*.cpp") file(GLOB_RECURSE MPC_SPD_FILES "../third_party/spdlog/src/*.cpp") find_package(OpenSSL REQUIRED) include_directories(${OPENSSL_INCLUDE_DIR}) link_libraries(${OPENSSL_LIBRARIES}) #link_libraries(/home/app/pythonenvs/rosetta/pkgs/python-3.6.5-hc3d631a_2/lib/libpython3.6m.so.1.0) # add_library(${PY_NAME} SHARED ttdy.cpp ${MPC_SNN_FILES} ${MPC_MPC_FILES} ${MPC_PUB_FILES} ${MPC_IO_FILES} ${MPC_SPD_FILES} ${MPC_IOWARP_FILES} ${MPC_UTIL_FILES} ${MPC_COMMON_FILES}) set(CMAKE_SHARED_LIBRARY_PREFIX "")