summaryrefslogtreecommitdiff
path: root/cmake/modules/FindNL.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/FindNL.cmake')
-rw-r--r--cmake/modules/FindNL.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/cmake/modules/FindNL.cmake b/cmake/modules/FindNL.cmake
index 5b12a15319..d4f003e886 100644
--- a/cmake/modules/FindNL.cmake
+++ b/cmake/modules/FindNL.cmake
@@ -132,11 +132,7 @@ INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(NL DEFAULT_MSG NL_LIBRARY NL_INCLUDE_DIR)
IF(NL_FOUND)
- if(HAVE_LIBNL3)
- set(NL_LIBRARIES ${NLGENL_LIBRARY} ${NLROUTE_LIBRARY} ${NL_LIBRARY})
- else()
- set(NL_LIBRARIES ${NL_LIBRARY})
- endif()
+ set(NL_LIBRARIES ${NLGENL_LIBRARY} ${NLROUTE_LIBRARY} ${NL_LIBRARY})
set(NL_INCLUDE_DIRS ${NL_INCLUDE_DIR})
set(HAVE_LIBNL 1)
else()