Skip to content

Commit

Permalink
Merge pull request #2868 from BioDataAnalysis/emmenlau_fix_find_libev…
Browse files Browse the repository at this point in the history
…ent_install

Do not install `FindLibevent.cmake` when libevent is disabled
  • Loading branch information
emmenlau authored Oct 13, 2023
2 parents df0c674 + a4e7b9a commit 3fdc636
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/cmake/GenerateConfigModule.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ if (NOT CYGWIN)

install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ThriftConfig.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/ThriftConfigVersion.cmake"
"${CMAKE_CURRENT_SOURCE_DIR}/build/cmake/FindLibevent.cmake"
DESTINATION "${CMAKE_INSTALL_DIR}/thrift")
if(WITH_LIBEVENT)
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/build/cmake/FindLibevent.cmake"
DESTINATION "${CMAKE_INSTALL_DIR}/thrift")
endif()
endif()

0 comments on commit 3fdc636

Please sign in to comment.