mirror of
https://github.com/emp-toolkit/emp-ag2pc.git
synced 2026-01-09 15:27:55 -05:00
add cmake file
This commit is contained in:
12
cmake/emp-ag2pc-config.cmake
Normal file
12
cmake/emp-ag2pc-config.cmake
Normal file
@@ -0,0 +1,12 @@
|
||||
find_package(emp-ot)
|
||||
|
||||
find_path(EMP-AG2PC_INCLUDE_DIR emp-ag2pc/emp-ag2pc.h)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
|
||||
find_package_handle_standard_args(EMP-AG2PC DEFAULT_MSG EMP-AG2PC_INCLUDE_DIR)
|
||||
|
||||
if(EMP-AG2PC_FOUND)
|
||||
set(EMP-AG2PC_INCLUDE_DIRS ${EMP-AG2PC_INCLUDE_DIR} ${EMP-OT_INCLUDE_DIRS})
|
||||
set(EMP-AG2PC_LIBRARIES ${EMP-OT_LIBRARIES})
|
||||
endif()
|
||||
Reference in New Issue
Block a user