X-Git-Url: https://git.siccegge.de//index.cgi?p=software%2FDIPE.git;a=blobdiff_plain;f=src%2FCMakeLists.txt;h=ce0076e1f48d2b50e18067965b447b5695fa6940;hp=2d3ee8350d026445c35da078b59c1379630847d0;hb=006e87bc592a4e6eabea4f7f9caab8e218ebfd85;hpb=5cb1a82c4ddb3fd578e6b99cce46406e1a6b357f diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2d3ee83..ce0076e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,6 +1,12 @@ option(BUILD_SHARED_LIBS "Build using shared libraries" ON) add_library (DIPE DIPE.cxx) +add_definitions(-Wall -Wextra -Werror) + # Make sure the compiler can find include files for our Hello library # when other libraries or executables link to Hello -target_include_directories (DIPE PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) +target_include_directories (DIPE PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../include/) + +target_link_libraries(DIPE pbc) +target_link_libraries(DIPE gmp) +target_link_libraries(DIPE crypto)