Skip to content

Commit

Permalink
Fixed mistake in SEALConfig.cmake.in where the current directory wasn't
Browse files Browse the repository at this point in the history
added in module search path unless MSGSL was enabled
  • Loading branch information
kimlaine committed Oct 12, 2019
1 parent 5c20807 commit ac4853a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion native/src/cmake/SEALConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ set(SEAL_LIB_BUILD_TYPE @SEAL_LIB_BUILD_TYPE@)
set(SEAL_USE_CXX17 @SEAL_USE_CXX17@)
set(SEAL_ENFORCE_HE_STD_SECURITY @SEAL_ENFORCE_HE_STD_SECURITY@)

# Add the current directory to the module search path
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})

set(SEAL_USE_MSGSL @SEAL_USE_MSGSL@)
if(SEAL_USE_MSGSL)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
find_seal_dependency(MSGSL)
endif()

Expand Down

0 comments on commit ac4853a

Please sign in to comment.