Skip to content

Commit 7db3db5

Browse files
authored
Merge pull request mfontanini#291 from kraj/master
cmake: Use CMAKE_INSTALL_LIBDIR
2 parents a7c696c + 51ec4c1 commit 7db3db5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ option(CPPKAFKA_EXPORT_CMAKE_CONFIG "Generate CMake config, target and version f
5151
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")
5252

5353
if (NOT CPPKAFKA_CONFIG_DIR)
54-
set(CPPKAFKA_CONFIG_DIR lib/cmake/${PROJECT_NAME})
54+
set(CPPKAFKA_CONFIG_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})
5555
endif()
5656

5757
# Maintain previous compatibility

0 commit comments

Comments
 (0)